Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Pattern »

Re: Business Delegate

George Maggessy

2004-04-16

Replies:

As a BD or as a Facade? Sorry, I haven't got u.


--- Giovani Salvador <giovani-salvador@(protected)>
wrote:
> Remember that Businness Delegate resides on client side,
> not server side,
> therefore, making an EJB as a BD is
> not a good idea
>
> Giovani Salvador
> Procergs
> Coordenadoria de Eventos RSJUG
> giovanisalvador@(protected)
> www.rsjug.org
> ICQ# 44904309
>
>
>
>
> ----- Original Message -----
> From: "Ricardo de Souza Moura"
> <ricsouzamoura@(protected)>
> To: <J2EEPATTERNS-INTEREST@(protected)>
> Sent: Friday, April 16, 2004 4:42 PM
> Subject: Re: Business Delegate
>
>
> > I would like very much. thank you.
> >
> > But I was thinking about construct my Business
> Delegate(BD) not like a
> EJB.
> > The BD would be a normal class. therefore my web tier
> don't need to worry
> > about look up or RemoteException for example. Only my
> Bd would need to
> worry
> > about this. is it OK ? Do you agree ?
> >
> > About to do cache I have some doubts.
> > My ServletContainer an my EJBContainer are in two
> differents machines. If
> > only the EJBContainer stop what happen with my cache at
> the
> ServletConainer
> > ? it won't work anymore, will it ?
> >
> >
> > >From: George Maggessy <gmaggess@(protected)>
> > >Reply-To: gjr@(protected)
> > >To: J2EEPATTERNS-INTEREST@(protected)
> > >Subject: Re: Business Delegate
> > >Date: Fri, 16 Apr 2004 12:20:35 -0700
> > >
> > >Hi Ricardo,
> > >
> > >Yes. This is a good structure. In fact, I use this
> patterns
> > >and my app works fine. The only thing you have to
> worry
> > >about is the business delegate or delegate handler.
> There
> > >are diferent types for diferent session beans.
> Like...
> > >Cache the EJB Handle for stateful beans or cache the
> > >EJBHome for stateless beans... I could send u a sample
> if u
> > >want.
> > >
> > >Cheers,
> > >George Maggessy
> > >
> > >
> > >--- Ricardo de Souza Moura <ricsouzamoura@(protected)>
> > >wrote:
> > > > Hi folks,
> > > > I have a doubt.
> > > >
> > > > I am projecting my application with the structure
> below:
> > > >
> > > > web tier => business Delegate(BD) =>
> ServiceLocator(SL)
> > > > => Session
> > > > Facade(SF) => EJBs
> > > >
> > > > The web tier use the BD to call business methos.
> > > > The BD use the SL to get a SF
> > > > The BD use the SF to call business methods
> > > > SF is a Session Bean and use Entity Beans and
> others
> > > > Session Beans to do its
> > > > work.
> > > >
> > > > Is this strutcture a good practice ?
> > > >
> > > > Does Somebody have another suggestion ?
> > > >
> > > > Thanks
> > > >
> > > >
> >
>
>_________________________________________________________________
> > > > MSN Hotmail, o maior webmail do Brasil.
> > > > http://www.hotmail.com
> > > >
> > > >
> >
>
>====================================================================
> > > > Companion Site: http://www.corej2eepatterns.com
> > > > J2EE BluePrints:
> > > > http://java.sun.com/blueprints/corej2eepatterns
> > > > List Archive:
> > > >
> >
>
>http://archives.java.sun.com/archives/j2eepatterns-interest.html
> > > > Unsubscribing: email "signoff
> J2EEPATTERNS-INTEREST" to
> > >listserv@(protected)
> > >
> > >
> > >
> > >
> > >
> > >__________________________________
> > >Do you Yahoo!?
> > >Yahoo! Tax Center - File online by April 15th
> > >http://taxes.yahoo.com/filing.html
> > >
> >
>
>====================================================================
> > >Companion Site: http://www.corej2eepatterns.com
> > >J2EE BluePrints:
> http://java.sun.com/blueprints/corej2eepatterns
> > >List Archive:
> >
>
>http://archives.java.sun.com/archives/j2eepatterns-interest.html
> > >Unsubscribing: email "signoff J2EEPATTERNS-INTEREST"
> to
> > >listserv@(protected)
> >
> >
>
_________________________________________________________________
> > MSN Messenger: converse com os seus amigos online.
> > http://messenger.msn.com.br
> >
> >
>
====================================================================
> > Companion Site: http://www.corej2eepatterns.com
> > J2EE BluePrints:
> http://java.sun.com/blueprints/corej2eepatterns
> > List Archive:
>
http://archives.java.sun.com/archives/j2eepatterns-interest.html
> > Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to
> listserv@(protected)
> >
> >
>
>
====================================================================
> Companion Site: http://www.corej2eepatterns.com
> J2EE BluePrints:
> http://java.sun.com/blueprints/corej2eepatterns
> List Archive:
>
http://archives.java.sun.com/archives/j2eepatterns-interest.html
> Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to
listserv@(protected)





__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

====================================================================
Companion Site: http://www.corej2eepatterns.com
J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns
List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.