[jboss-user] [EJB 3.0] - Re: NullPointerException in jboss calculator example

Wolfgang Knauf do-not-reply at jboss.com
Tue Oct 10 06:31:19 EDT 2006


Hi,

in the trailblazer html it seems the interface from the trailblazer lacks the "@javax.ejb.Local" annotation:

@Local
public interface Calculator {
 ...
}

So the server does not bind the ejb to a jndi name and if your deployment does not contain any other bean no context "EJB3Trail" will be created.

Hope this guess is right ;-)

Wolfgang

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977189#3977189

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977189



More information about the jboss-user mailing list