Jacob & Ame:

"Hookom, Jacob" wrote:

> 1. Create view-specific lightweight objects to be pulled from the DB
> 2. Memory allowed, it's faster to pull them all at once than lazy load
> 4. The real cause of some of our performance problems were the JSP's/HTML in

Excatly what we found too.. and our results were only in the hundreds rather
than in the thousands!  Many rows of data coupled with tables were a real
killer..

> To handle this, I created a SearchResultListAdaptor that could sit in the
> session and handle paging (if anyone wants to argue session scope with me,
> bring it on--).

In fact this is one place where a session variable comes in most handy..:)


> The SearchResultListAdaptor then contained the behavior of
> sort order/paging, etc.  Sorting was done via bean property using a
> BeanUtilsComparator.

Almost exactly what we did too..:)

> So my SearchResultListAdaptor could then work with an
> list of beans.
>
> Best Regards,
> Jacob

Regards,
Geeta


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

Reply via email to