William Louth wrote:
>
> I do not understand why you still must go to the database through jdbc to
> construct a 'lite' object when you could use the standard approach of
> calling some bulk accessor on the entity (cmp) to return the 'lite' object
> or code the session bean to create the 'lite' object from values returned by
> calls on the remote interface of the entity bean. This will lead to
> significant code reduction, performance improvement........
>
> William Louth
> Inprise
> www.inprise.com/appserver/
>

I'm not sure I follow you.  If you called a bulk accessor on a CMP
entity, that's going to create all of the Entity Beans, from which you
would then have to extract the lite objects to return.  One of the
things we want to avoid is creating the entire bean unnecessarily,
particularly if the Entity Bean is a fairly heavy object and/or if there
are a lot of them in the system.  I think our approach is more
performant because we only create what we need when we need it.

Dale

================================
   Dale V. Georg
   Technical Manager
   Indus Consultancy Services
   [EMAIL PROTECTED]
   (201) 261-3100 x229
================================

===========================================================================
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