To use Resin as an EJB client with Orion follow these steps:
1)Under Orion do nothing :)
2)In Resin add orion.jar, ejb.jar, mail.jar (from orion) in your app
WEB-INF/classes dir
3)In Resin in your app web.xml add these lines:
<classpath id='WEB-INF/classes/orion.jar'/>
<classpath id='WEB-INF/classes/mail.jar'/>
<classpath id='WEB-INF/classes/ejb.jar'/>
<jndi-link>
<jndi-name>java:comp/env/ejb</jndi-name>
<jndi-factory>com.evermind.server.rmi.RMIInitialContextFactory
</jndi-factory>
<init-param
java.naming.provider.url="ormi://myOrionHost/MyApp"/>
<init-param java.naming.security.principal="admin"/>
<init-param java.naming.security.credentials="xxx"/>
</jndi-link>
4) Write your servlet/JSP as you would in Orion so for example if you have a
SessionBean called MyBean (in your ejb-jar.xml) your lookup should use this
string ("java:comp/env/ejb/MyBean")
5)It's all
Luciano Montebove - Software Architect - Finsiel S.p.a
E-mail: [EMAIL PROTECTED] Phone: (+39) 06-4142-7663
"If you don't fail now and again, it's a sign you're playing it safe"
-W. Allen