On Tue, 2003-03-18 at 23:09, Philippe de M. Sevestre wrote:
> How often does the data from which you populate your pull-down changes ?
>
> Usually this kind of information is relatively static so you should
> consider caching the resulting bean collection in a session attribute (if
> user specific
How often does the data from which you populate your pull-down changes ?
Usually this kind of information is relatively static so you should
consider caching the resulting bean collection in a session attribute (if
user specific)
or even a context attribute.
- Original Message -
From: "
if you are using cmp 2 i suggest you to look at the read-ahead
parameters on the jboss cmp doc.
Pete Beck wrote:
Hi,
My application frequently needs to grab a large number of entities from
the database to populate drop down lists.
The current method I use, is to use a CMP finder which returns a
on you finder use a read-ahead strategy on-find or on-load + a load-group
that contains only the field you need to load.
with latest xdoclet :
* @jboss.query
*signature="java.util.Collection findSomething()"
*strategy="on-load"
*page-size="10"
*eager-load-group="lightweight"