[jboss-dev-forums] [JBoss AS 7 Development] - Re: How to use custom JNDI name in JBOSS 7
Wolf-Dieter Fink
do-not-reply at jboss.com
Thu Jul 12 04:33:13 EDT 2012
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion
"Re: How to use custom JNDI name in JBOSS 7"
To view the discussion, visit: https://community.jboss.org/message/747686#747686
--------------------------------------------------------------
Have a look to [1] for migration issues.
If it was me I would upgrade to EJB3 as it's easier to handle and you have still the migration effort. Also EJB2 is running out of interest, I suppose there is less support for enhancements.
To map your JNDI names you should have a look into the subsystem 'naming'. You can add a <bindings> section and add individual aliases
<lookup name="java:global/Alias" lookup="ejb:app/modul/......"/>
[1] https://docs.jboss.org/author/display/AS71/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7 https://docs.jboss.org/author/display/AS71/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/747686#747686]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120712/ac738b2e/attachment.html
More information about the jboss-dev-forums
mailing list