[jboss-user] [EJB 3.0 Users] - Re: How to find Entity by Id
jaikiran
do-not-reply at jboss.com
Mon Nov 16 08:42:44 EST 2009
anonymous wrote : new CustomerHome()
CustomerHome is a @Stateless bean. You are not supposed to instantiate a EJB using the new operator. Instead you should lookup the bean from JNDI. See this for more details http://www.jboss.org/index.html?module=bb&op=viewtopic&t=137590#4158957
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265862#4265862
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265862
More information about the jboss-user
mailing list