First approach to ORION EJB.

2000-10-26 Thread fresnaCSI



Hi all,
I am trying to deploy my first Orion EJB but I'm 
really confused. 
Theses are the step I have done so 
far:
- I've created the home and remote interfaces and 
the bean itself. I've copied them into a directory called d:\src and 
I've
 compiled them.
- I've created the application.xml and ejb-jar.xml 
files and I've put them in the d:\src\META-INF directory.
- I've updatethe server.xml file in 
/orion/config/with the following line:
 application name="first-ejb" path="d:\src" auto-start="true" 
/
When I restart the orion application server it 
shows a message saying that it's made the deployment correctly (or 
that's
what I think it says). The message is:

  
Auto-deploying first-ejb (New server version detected)...
  Orion/1.3.8. 
initialized

Now I want to create a servlet which use that ejb. 
How do I have to make it? 
Do I have to make it like the orion-primer 
example?

Have I deployed the ejb properly?

Thanks in advance.


First approach to ORION EJB.

2000-10-26 Thread fresnaULL



Hi all,
I am trying to deploy my first Orion EJB but I'm 
really confused. 
Theses are the step I have done so 
far:
- I've created the home and remote interfaces and 
the bean itself. I've copied them into a directory called d:\src and 
I've
 compiled them.
- I've created the application.xml and ejb-jar.xml 
files and I've put them in the d:\src\META-INF directory.
- I've updatethe server.xml file in 
/orion/config/with the following line:
 application name="first-ejb" path="d:\src" auto-start="true" 
/
When I restart the orion application server it 
shows a message saying that it's made the deployment correctly (or 
that's
what I think it says). The message is:

  
Auto-deploying first-ejb (New server version detected)...
  Orion/1.3.8. 
initialized

Now I want to create a servlet which use that ejb. 
How do I have to make it? 
Do I have to make it like the orion-primer 
example?

Have I deployed the ejb properly?

Thanks in advance.