serban.balamaci wrote:
I am just saying that it may be ok in some cases to keep state on
some objects and not have detachable models.

I agree.

Anything that uses a List of database entities, I tend to put in a detachable model.

If I'm merely using a single POJO that was originally pulled from Hibernate, then I don't usually bother, unless it has a bunch of associated objects/collections that are likely to be large.

Adding detachable models for absolutely everything is more complex, takes longer to code, and is less obvious; all for very little gain in many situations.

Don't prematurely optimize.

Do use a profiler.

That is all. ;-)

Regards,

Al

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to