Hi All! 
My question is about design strategy.
I have an Entity Bean, which data I should show to the client in list. 
I have a finder on that Entity Bean (findAll in home interface).  When I have got a 
collection of entity beans from finder I create a collection of serializable Value 
Objects, which I return to client in session facade. The problem is the list is very 
large (more than 1000 record) and elapsed time is about 30-60 sec. and more. Client 
needs to see in list (for example) records from 1 to 50 or from 50 to 100 e.t.c and 
How can I limit row number in EJBQL, or I shuold use JDBC calls instead of EJBQL? How 
can I decrease time of method? Is it effective designed application when I use findAll 
method everytime when client needs to see a list?

Thanks


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842676#3842676

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842676


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to