Hi guys,
I was reading through Design patterns for the Pet Store.
They say 2 contradictory things:
1) Value objects are unsuitable for Large objects. When you need to send
back a large list, it is better to model each *row* as a value object
instead of the entire list.
2) The CatalogEJB in PetStore source code returns a ListChunk type, which
contains the entire list of objects.
The explanation for the first was something like: Serializing large objects
takes so much time that it overshadows the savings of network latency.
I really don't know what to do now. Should I proceed with large objects, or
should i chop them up?
Any advice or suggestions will be truly appreciated
Thanks
-Erwin
===========================================================================
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".