jQuery in Action, 2nd edition*
The moose likes EJB and other Java EE Technologies and the fly likes How i lookup for EJB3   in  different server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How i lookup for EJB3   in  different server" Watch "How i lookup for EJB3   in  different server" New topic
Author

How i lookup for EJB3 in different server

hassan ali
Ranch Hand

Joined: Apr 23, 2006
Posts: 127

i need to find Ejb SessionBean in another server to use it

how can id do it?
thank you
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30352
    
150

Which server - JBoss, WebSphere, WebLogic, etc? The details of how to do this tend to vary by server.

The basics are the same:
1) Add all needed jars to classpath
2) Create an initial context
3) Lookup the remote home interface from the JNDI


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
hassan ali
Ranch Hand

Joined: Apr 23, 2006
Posts: 127
I am using GlassFish
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How i lookup for EJB3 in different server