This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes jndi for ejb on jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jndi for ejb on jboss " Watch "jndi for ejb on jboss " New topic
Author

jndi for ejb on jboss

Suma Rangaraj
Ranch Hand

Joined: Feb 02, 2005
Posts: 50
Hi all,

Please let me know how to give a jndi name for jboss 4.0.1. I am trying to access teh ejb by its context name but it returns a null pointer exception. Thank you !
Below is the code -

Anuja Piplapure
Greenhorn

Joined: Feb 06, 2005
Posts: 7
To access or look up any EJB, one would have to use the jndi-name mentioned in the jboss.xml file.



Use the jndi-name or local-jndi-name given in the jboss.xml file to look up ur bean.

 
GeeCON Prague 2014
 
subject: jndi for ejb on jboss