Inprise Application Server EJB
Resin

Change Log
Documentation

Orientation
Features
Installation
Configuration
Web Applications
JSP
Servlets and Filters
Databases
Admin (JMX)
Security
XML and XSLT
XTP
Resources (JNDI)
Performance
Protocols
Third-party
Troubleshooting

IDE's
Scottit
Code Libraries
EJB Servers
JMS
JCA Resources
SSL Accelerators

jBoss
Inprise
JOnAS
Weblogic
Orion
jBoss
EJB Servers
JOnAS

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);
    


jBoss
EJB Servers
JOnAS
Copyright © 1998-2003 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.