aspose file tools*
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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jndi for ejb on jboss