This content has been marked as final.
Show 2 replies
-
1. Re: EJB3 - java.lang.NullPointerException
stokemasterjack Apr 18, 2005 8:46 PM (in response to bill.burke)
You are not using EJB3 correctly at all. Stateless beans must implement at least one interface
According to the spec:
A bean class that does not implement any interfaces will have a business interface generated for it. -
2. Re: EJB3 - java.lang.NullPointerException
bill.burke Apr 18, 2005 9:23 PM (in response to bill.burke)Yeah, the spec says this, but the code would still have to be generated and you would still have to compile it. THere is no magic here.
BTW, this interface generation will be removed from the next version of the spec.