This content has been marked as final. Show 2 replies
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.
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.