Assuming that you are caching data dbase access at the model layer (as most DAO such as iBaits or Hibernate do, no one should code at low level JDBC anymore for any reason) the paged db access is much much less stress.
.V


Abhinav (Cognizant) wrote:

If you have to always fetch latest data (data is fairly quickly changing), make a database call. If you are serving static data do otherwise.

-----Original Message-----
From: ruben [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 3:54 PM
To: [EMAIL PROTECTED]
Subject: which is better, use a display for paginating or ...


Well, this is my question, what do you think is better for do the pagination, a display tag or maybe to call the database in all the access to get the data 10 by 10? Thanks



------------------------------------------------------------------------

****** Message from InterScan E-Mail VirusWall NT ******

** No virus found in attached file noname.htm

No Virus detected in the attached file(s).
*****************     End of message     ***************




------------------------------------------------------------------------

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.

Visit us at http://www.cognizant.com



------------------------------------------------------------------------

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


-- Vic Cekvenich, Struts Instructor, 1-800-917-JAVA

Advanced <a href ="baseBeans.com">Struts Training</a> and project recovery in North East. Open Source <a href ="baseBeans.com">Content Management</a> basicPortal sofware
Best practice<a href ="baseBeans.com">Struts Support</a> v.1.1 helper ScafflodingXPress





Reply via email to