caucho
Resin
FAQ
Reference Guide
JavaDoc
Demo
Tutorial

Getting Started
Configuration
EJB
Topics
JSP
XTP/XSL

WebLogic
Inprise
Orion
jBoss
JOnAS
 Resin using Inprise Application Server EJB

WebLogic
EJB
Orion

From Damon Maria:

Got 1.2 talking to IAS 4.1 the other day and just thought I'd share my experiences to save someone else some time.

Here's what to do:

  1. Copy vbjorb.jar and vbejb.jar from AppServer/lib into resin/lib. Just adding these into the <classpath .../> in resin.conf doesn't work.
  2. Add the path to your beans into resin.conf:

      <classpath id='c:/development/classes'/>
  3. Add the JNDI link from resin to the app server in resin.conf:

    <jndi-link>
      <jndi-name>java:comp/env/ejb</jndi-name>
       <jndi-factory>com.inprise.j2ee.jndi.CtxFactory</jndi-factory>
    </jndi-link>
  4. Then connect to your beans in servlets/JSP, simply add "java:comp/env/ejb/" onto any JNDI paths you use to find your beans. Eg. if I have a bean at the app server JNDI path of "TestSession" then in my servlet I use:

    javax.naming.Context  context = new javax.naming.InitialContext();
    Object ref = context.lookup("java:comp/env/ejb/TestSession");
    home = (TestSessionHome) javax.rmi.PortableRemoteObject.narrow(ref,
                               TestSessionHome.class);

WebLogic
EJB
Orion
Copyright © 1998-2001 Caucho Technology. All rights reserved.
Copyright © 1998-2001 Caucho Technology. All rights reserved.