This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JBoss and the fly likes jndi for ejb on jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply 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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jndi for ejb on jboss
 
Similar Threads
InitialContext.lookup and narrow malfunctioning
Problem in JNDI lookup
problem in acessing session bean using jndi
Getting NullPointerException while accessing Local EJB
EJB access issue