[jboss-user] [JNDI and Naming] - Re: JBoss 4.0.2 -> 5.1 problem with EJB3 lookup via jndi

Wolf-Dieter Fink do-not-reply at jboss.com
Thu Nov 4 13:47:30 EDT 2010


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

"Re: JBoss 4.0.2 -> 5.1 problem with EJB3 lookup via jndi"

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

--------------------------------------------------------------
One is to annotate @LocalBinding(jndiBinding="..."), but that is not what you want (also painful because the annotation change from JB4 => JB5).
But it should possible to overwrite the names via deployment descriptor META-INF/ejb-jar.xml or jboss.xml.
You should only set the local jndi name all other should be taken from annotation due to JEE spec. (convention over configuration)
--------------------------------------------------------------

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

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

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


More information about the jboss-user mailing list