[jboss-user] [EJB 3.0] - Re: Ejb3.0 jndi lookup problem

Wolf-Dieter Fink do-not-reply at jboss.com
Wed Sep 15 06:21:08 EDT 2010


Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Re: Ejb3.0 jndi lookup problem"

To view the discussion, visit: http://community.jboss.org/message/561536#561536

--------------------------------------------------------------
The default naming in EJB3 will be
<name of the ear file>/<Bean name>/remote

E.g. you deploy application.ear with a bean 'MySLSBean' the default naming is 'application/MySLSBean/remote'

If you want to change the JNDI name you might add @org.jboss.annotation.ejb.RemoteBinding(...) to your Bean-class.
But it is a non standard (EJB) jboss annotation that change from 4.x=>5.x
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/561536#561536]

Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100915/f776aee5/attachment.html 


More information about the jboss-user mailing list