You do it yourself.

While this might seem like overhead, IMHO, it's not.  If you have an
object, XXXDetails, that updates everything the client has access to at
once.

Rather than go from the Web-tier to the app-tier to the EIS tier for every
variable that can be read from an EJB (or written, [getters and setters
essentialy] the same logic applies), you have one object that does it all
at once, and this is how the Web-tier contains a cache of the EIS-tier.

Think about what would happen if you used the remote interface of the EJB
from the client and had to serialize all the requests (stubs and
skeletons).

Scott Durrant
Human Genetics
University of Utah
[EMAIL PROTECTED]


On Fri, 16 Jun 2000, Lauren Commons wrote:

> Scott Durrant wrote
> >         JSP's useBean tag (simple JavaBeans now have a
> client side cache
> > of the server-side EJBs)
>
> Do you have to do that yourself in the servlet (i.e. step
> through each property retrieving the value from the
> EJB and setting it in the JB), or can you specify an EJB
> as the bean to pass to the JSP?
> > Of the two, I'd say go with weblogic.
> >
> > You might also look at iPlanet, the newest Netscape Application Server,
> > instead of either of those though.
> >
> > I think that the solution model is the most important piece of the puzzle,
> > and IMHO, the approach to use is:
> >
> >         JSP's
> >         JSP's useBean tag (simple JavaBeans now have a client side cache
> > of the server-side EJBs)
> >         Servlet Mapping (you now have lots of little servers, i.e.,
> > servlets, that deal with specific EJB's)
> >
> > Check out how the products handle this MVC type of approach.
> >
> > The IDE (if you use one) should emit code that is portable across app
> > servers so you're not locked in to a single vendor.  Search out areas of
> > your code that are vendor specific and write your own wrapper classes.
> >
> > Scott Durrant
> > Human Genetics
> > University of Utah
> > [EMAIL PROTECTED]
> >
> >
> > On Fri, 16 Jun 2000, Fabrice Antoine wrote:
> >
> > > Hello,
> > >
> > > I have to make a choice between WebSphere 3.0 and WebLogic 5.1 as
> > > general application server for my business ! Is there anyone that
> > > can help me making this choice ?
> > >
> > > Thanks
> > >
> > > Fabrice
> > >
> > > ===========================================================================
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > > of the message "signoff EJB-INTEREST".  For general help, send email to
> > > [EMAIL PROTECTED] and include in the body of the message "help".
> > >
> > >
> >
> > ===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff EJB-INTEREST".  For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
> >
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to