File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 29261
    
140

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
 
Similar Threads
deployment error
to upload a file to a remote server on the network
doPut()????
how to convert .csv files into sql server files using java
Sending XML data to webservice