File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes How to deploy and Use a Session Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "How to deploy and Use a Session Bean" Watch "How to deploy and Use a Session Bean" New topic

How to deploy and Use a Session Bean

Manas Sahu

Joined: Jul 22, 2003
Posts: 1
I'm trying to deploy a Stateful Session Bean in Orion 2.0.2 Application Server. I need some help regarding on how to call the EJB from the Client.
My Source Codes are as follows :

The Steps I've followed to deploy the EJB are as follows :
1. Made a jar file named examples-ejb.jar, containing
2. Aded a line <ejb-module path="../applications/examples-ejb.jar" remote="false" /> to the C:\Orion\Config\Application.xml file.
3. Copied the jar file to the C:\Orion\Applications\ Directory.
4. Started Orion Server by java -jar Orion.jar and it got started successfully and created Two Files and a Folders like below:
Now how can i call this EJB Class from my Client Class if the Client Class is in the same Server where the Orion Server is installed, and from a different Computer other the Server where the Orion Application Server is installed.
[ July 22, 2003: Message edited by: Marilyn de Queiroz ]
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9058
You might call the EJB from a servlet.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
subject: How to deploy and Use a Session Bean
It's not a secret anymore!