Have your action classes call methods on a DTO (data transfer object) that
calls an EJB stateless session bean that will, in turn, call the business
logic contained in EJB entity beans that reflect your datastore.  State in
the DTO can then be transferred to your ActionForm/DynaActionForm beans.

Mark

-----Original Message-----
From: ajay brar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 8:56 AM
To: [EMAIL PROTECTED]
Subject: RE: ejb's and tomcat


hi!
its actually for my software project at university. i am in uni. and the aim
of the project is to use ejb with struts.
we are developing a transaction/payment gateway.
the ejb's will be implementing the model, ie, the actual transaction and
also merchant support functions.
since me and my group are still in uni(and learning among other things
groupwork), we divided the tasks. so while i developed the web tier using
struts someone else developed the ejb's
and ofcourse now we have to integrate the two sides and hence my question.
we are currently experimenting with openEJB; any alternative recommendations
will be most welcome.

thanks
cheers
ajay




>From: "Mark Galbreath" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: RE: ejb's and tomcat
>Date: Wed, 8 Oct 2003 07:03:51 -0400
>
>If you are asking these questions, you probably should not be using EJB.
>The ONLY reason to use EJB is if you are developing a distributed
>application; anything else is overkill.  If you simply need data
>persistence, use JDBC and use DAO, or one of the persistence frameworks:
>Ibatus, Hibernate, or Kodo-JDO.
>
>Mark
>
>-----Original Message-----
>From: ajay brar [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 07, 2003 9:51 PM
>To: [EMAIL PROTECTED]
>Subject: ejb's and tomcat
>
>
>Hi!
>does tomcat support ejb's. I'm building a web app which uses struts. i'm
>using  ejb's  for the model part.
>can i deploy the ejb component on tomcat?
>what other alternate ways are there to do so?
>
>thanks
>cheers
>ajay
>
>_________________________________________________________________
>ninemsn Premium transforms your e-mail with colours, photos and animated
>text. Click here  http://ninemsn.com.au/premium/landing.asp
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to
http://ninemsn.com.au/mobilemania/default.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to