Hi,
To get started, I followed the procedure in
http://www.openejb.org/hello-world.html and it works good.

I have the following statment in the servlet which I use to test the bean
import org.acme.*;
and this package is in the jar which contains the bean myHelloEjb.jar.

To compile the servlet, I have to include this jar file in the classpath.
This is fine when servlet and the ejb are in the same machine ... but how
would I do this is the ejb is in a different machine ? (I'd guess there is
probably a client stub which contains the func defns ... not sure how to
create it ?)

>From the documentation I have read, in tomcat 5, the <context> xml
snippets have been moved to seperate xml files under
Tomcat5\conf\Catalina\localhost. I think the documentation
(http://www.openejb.org/tomcat-ejbrefs.html)
still says <context> tags in server.xml. What would I handle the path and
the docbase ?

- Cheers,
Aravind







On Fri, 9 Jul 2004, Jacek Laskowski wrote:

> aravind elango wrote:
> > Hello group,
> >
> > Just about today I managed to get my 'Hello World' EJB to run locally on
> > Tomcat/OpenEjb.
>
> Great! Any issues/obstacles you faced we could get rid of in OpenEJB 1.0
> release?
>
> > I am using Tomcat 5 and all the references I could find in the
> > www.openejb.org are for tomcat 4. I am new to both openejb and ejb.
> > Could someone point me to references for using openejb with tomcat 5 ?
>
> The latest changes I made to OpenEJB-Tomcat integration were tested
> against Jakarta Tomcat 5.0.25, thus all the information you can find at
> OpenEJB website will surely work in Tomcat 4 and 5.
>
> > I am planning to put EJB using openEJB on a remote machine and have
> > jsp/servlets running on Tomcat 5 use them.  I'd appreciate any help which
> > might help me.
>
> Go ahead and test the configuration! Should you face any issues report
> them right away over here.
>
> > Aravind.
>
> Pozdrawiam,
> Jacek
>

Reply via email to