Victor Langelo wrote:
> As we all know as soon as you show a real user a list of employees salaries, they're
> going to ask you for other related data like insurance, whether they are married,
> etc...
>
> We provided methods in our entity beans that allow the user to select only the subset
> of the object graph of interest to the given use case.

Looks like an implementation of the Proxy pattern.

> Sure, more data is returned
> than your strategy 2, but the increased reuse is more than offset the small extra
> network bandwidth.

FWIW, this is exactly what I was trying to articulate (very badly, as is
my wont) earlier.

Cheers,
Laird

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