You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by chanchal bera <ch...@yardiindia.com> on 2006/07/28 15:07:36 UTC

How to run EJB in Tomcat itself ?

Hi All,

I came to know that Tomcat 5.5.17 itself is now supporting to run EJB,
but not sure! No such proper information is available in the Tomcat
Site. If possible, can any body give information about how to run EJB in
Tomcat itself, not integrating with any EJB container?

 

 

 

Thanks & Regards,

 

________________________________

 
Chanchal Bera | Programmer, J2EE/rCash

tel 91.20.25609000 x 238 | fax 91.20.25651914 | mobile +919860248984
Yardi Software India Pvt Ltd. | Second Floor, Sigma House, Senapati
Bapat Road | Pune, MS 411016, India 
chanchal.bera@yardi.com <ma...@yardi.com>  | 
www.yardi.com <http://www.yardi.com> 

United States | Canada | Europe | Asia-Pacific

NOTICE: This email message, including any attachments, may contain
information that is confidential and/or proprietary. If you are not an
intended recipient, please be advised that any review, use, reproduction
or distribution of this message is prohibited. If you have received this
message in error, please completely destroy all electronic and hard
copies, and contact the sender at or chanchal.bera@yardi.com
<ma...@yardi.com> .

 


Re: How to run EJB in Tomcat itself ?

Posted by Raju Balugu <ra...@gmail.com>.
Thanks Maurice ,I am not aware of this .It'sgiven good info.

On 7/28/06, Maurice Yarrow <ya...@best.com> 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.
>
> http://openejb.codehaus.org/download.html
>
> 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.
>
> Maurice Yarrow
>
>
> Raju Balugu wrote:
>
> > As for my knowledge ,Tomcat 5.5.17 is not supporting for EJB ....u
> > need to
> > go by other application server ...weblogic or websphere..
> >
> > Regards
> > Raju
> >
> > On 7/28/06, chanchal bera <ch...@yardiindia.com> wrote:
> >
> >>
> >>   Hi All,
> >>
> >> I came to know that Tomcat 5.5.17 itself is now supporting to run
> >> EJB, but
> >> not sure! No such proper information is available in the Tomcat Site.
> If
> >> possible, can any body give information about how to run EJB in Tomcat
> >> itself, not integrating with any EJB container?
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Thanks & Regards,
> >>
> >>
> >>  ------------------------------
> >>
> >>
> >> *Chanchal Bera* | Programmer, J2EE/rCash
> >>
> >> tel 91.20.25609000 x 238 | fax 91.20.25651914 | mobile +919860248984
> >> Yardi Software India Pvt Ltd. | Second Floor, Sigma House, Senapati
> >> Bapat
> >> Road | Pune, MS 411016, India
> >> chanchal.bera@yardi.com | www.yardi.com
> >>
> >> United States | Canada | Europe | Asia-Pacific
> >>
> >> *NOTICE:* This email message, including any attachments, may contain
> >> information that is confidential and/or proprietary. If you are not an
> >> intended recipient, please be advised that any review, use,
> >> reproduction or
> >> distribution of this message is prohibited. If you have received this
> >> message in error, please completely destroy all electronic and hard
> >> copies,
> >> and contact the sender at or chanchal.bera@yardi.com.
> >>
> >>
> >>
> >
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: How to run EJB in Tomcat itself ?

Posted by David Blevins <da...@visi.com>.
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.
> http://openejb.codehaus.org/download.html
>
> 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  
here: http://openejb.codehaus.org/Tomcat


-David




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How to run EJB in Tomcat itself ?

Posted by Maurice Yarrow <ya...@best.com>.
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. 

http://openejb.codehaus.org/download.html

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.

Maurice Yarrow


Raju Balugu wrote:

> As for my knowledge ,Tomcat 5.5.17 is not supporting for EJB ....u 
> need to
> go by other application server ...weblogic or websphere..
>
> Regards
> Raju
>
> On 7/28/06, chanchal bera <ch...@yardiindia.com> wrote:
>
>>
>>   Hi All,
>>
>> I came to know that Tomcat 5.5.17 itself is now supporting to run 
>> EJB, but
>> not sure! No such proper information is available in the Tomcat Site. If
>> possible, can any body give information about how to run EJB in Tomcat
>> itself, not integrating with any EJB container?
>>
>>
>>
>>
>>
>>
>>
>> Thanks & Regards,
>>
>>
>>  ------------------------------
>>
>>
>> *Chanchal Bera* | Programmer, J2EE/rCash
>>
>> tel 91.20.25609000 x 238 | fax 91.20.25651914 | mobile +919860248984
>> Yardi Software India Pvt Ltd. | Second Floor, Sigma House, Senapati 
>> Bapat
>> Road | Pune, MS 411016, India
>> chanchal.bera@yardi.com | www.yardi.com
>>
>> United States | Canada | Europe | Asia-Pacific
>>
>> *NOTICE:* This email message, including any attachments, may contain
>> information that is confidential and/or proprietary. If you are not an
>> intended recipient, please be advised that any review, use, 
>> reproduction or
>> distribution of this message is prohibited. If you have received this
>> message in error, please completely destroy all electronic and hard 
>> copies,
>> and contact the sender at or chanchal.bera@yardi.com.
>>
>>
>>
>



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How to run EJB in Tomcat itself ?

Posted by Raju Balugu <ra...@gmail.com>.
As for my knowledge ,Tomcat 5.5.17 is not supporting for EJB ....u need to
go by other application server ...weblogic or websphere..

Regards
Raju

On 7/28/06, chanchal bera <ch...@yardiindia.com> wrote:
>
>   Hi All,
>
> I came to know that Tomcat 5.5.17 itself is now supporting to run EJB, but
> not sure! No such proper information is available in the Tomcat Site. If
> possible, can any body give information about how to run EJB in Tomcat
> itself, not integrating with any EJB container?
>
>
>
>
>
>
>
> Thanks & Regards,
>
>
>  ------------------------------
>
>
> *Chanchal Bera* | Programmer, J2EE/rCash
>
> tel 91.20.25609000 x 238 | fax 91.20.25651914 | mobile +919860248984
> Yardi Software India Pvt Ltd. | Second Floor, Sigma House, Senapati Bapat
> Road | Pune, MS 411016, India
> chanchal.bera@yardi.com | www.yardi.com
>
> United States | Canada | Europe | Asia-Pacific
>
> *NOTICE:* This email message, including any attachments, may contain
> information that is confidential and/or proprietary. If you are not an
> intended recipient, please be advised that any review, use, reproduction or
> distribution of this message is prohibited. If you have received this
> message in error, please completely destroy all electronic and hard copies,
> and contact the sender at or chanchal.bera@yardi.com.
>
>
>