[jboss-user] [EJB 3.0] - Re: EJB3 and Home Interface Support

bdecoste do-not-reply at jboss.com
Tue Jul 11 16:01:31 EDT 2006


If you specify a home interface using either the @RemoteHome/@LocalHome annotations or with the  or <local-home> elements in ejb-jar.xml, EJB3s will behave as 2.x EJBs. Everytime you lookup an instance in the JNDI context, you will acquire a new instance of an EJB - the jndi lookup behavior is identical to a create on a home interface. When you do the lookup, you receive a proxy to the EJB, but the proxy does not have an instance on the server side until the bean is invoked for the first time.

Take a look at the tutorials that are bundled with EJB3 for examples.

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

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



More information about the jboss-user mailing list