Why don't Struts incorporate something like this in your framework ? Not with EJB particularly, but with a abstract class for sample
From: "Matthias Wessendorf" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Subject: RE: EJB Tier Date: Fri, 9 Jan 2004 19:27:12 +0100
Hi,
yes it has an "Controller" in EJB-Tier. But i didnīt realy use it - or seen a solution, which use this.
for plain EJBs you can watch http://xpetstore.sf.net it uses Xdoclet for generating ejbs, struts and so on. nice :-)
greetings
-----Original Message----- From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 7:14 PM To: [EMAIL PROTECTED] Subject: Re: EJB Tier
OK. I understand what you said. Have you ever read about petstore sample ? It use the WAF (a framework done to petstore sample). This framework use a Event concept to Business Tier.
>From: Hubert Rabago <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: Struts Users Mailing List <[EMAIL PROTECTED]> >Subject: Re: EJB Tier >Date: Fri, 9 Jan 2004 08:53:20 -0800 (PST) > >Ideally, you should call your EJBs in your Action objects in response >to requests. > >Struts doesn't have anything about EJBs because you are free to decide >how >to >perform your business logic, although the recommendation is to not do them >inside >an Action object, but rather in another conceptual tier that's called by >the >Action object. That other tier could be your EJBs or other java objects. > >--- Ricardo de Souza Moura <[EMAIL PROTECTED]> wrote: > > I wish a advice. > > I have been using struts and I use DAO and JDBC to access my > > Database. I >am > > not using EJB, but I am wanting use it. The Struts framework doesn't >have > > anything about EJB. Will I need to do my own framework to treat with
> > EJB >or > > there are a best option ? > > thanks > > >__________________________________ >Do you Yahoo!? >Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes >http://hotjobs.sweepstakes.yahoo.com/signingbonus > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >
_________________________________________________________________ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
--------------------------------------------------------------------- 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]
_________________________________________________________________
MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]