tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <>
Subject Re: How to run EJB in Tomcat itself ?
Date Tue, 08 Aug 2006 18:38:29 GMT
On Jul 28, 2006, at 11:22 AM, Maurice Yarrow wrote:

> Hello Raju
> Try OpenEJB, which can be run in both tomcat-embedded mode
> (drop their openejb_loader .war into tomcat/webapps)  and
> also a detached server  mode.
> This is an open-source product, and they have a good e-mail
> user support  community.  It is a decent product and provides
> a good interface between the Java obj's and the beans.
> You simply write your beans and your sql, run a tool of
> theirs on this, and it creates a bean jar and configuration
> file with the sql embedded in it.

Thanks for the comments, Maurice.

Just to add a note on this thread.  The Tomcat/OpenEJB integration  
now runs in three modes.  The first two are as you mentioned: OpenEJB  
beside Tomcat in a separate VM; OpenEJB embedded into Tomcat and  
available to all webapps.  The new third style is OpenEJB embedded  
into a *webapp* and available only to that webapp -- each webapp can  
have it's own private ejb container.  The webapp can even have remote  
ejb clients that communicate with it's ejbs over HTTP.  With this  
style, you don't even have to have a separate ejb archive  -- you  
just add a META-INF/ejb-jar.xml file to your webapp and you're done.

That's pretty much my preferred integration style now.  More details  


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message