• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to deploy and Use a Session Bean

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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
examples\ejb\
examples\ejb\Count.class
examples\ejb\CountBean.class
examples\ejb\CountHome.class
META-INF\
META-INF\ejb-jar.xml
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:
C:\application-deployments\default\example-ejb.jar\
C:\application-deployments\default\example-ejb.jar\deployment.cache
C:\application-deployments\default\example-ejb.jar\orion-ejb-jar.xml
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 ]
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might call the EJB from a servlet.
 
There's a hole in the bucket, dear Liza, dear Liza, a hole in the bucket, dear liza, a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic