http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html
If you use CMP, I suggest you implement the data retrieval methods yourself so you can get out of the database only those object that will be rendered. I've found a nice example with Hibernate, but I understood you are not a fun ;) I've implemented it with iBatis witch is almost like raw JDBC only it has a lot less java code and not so much XML. And in iBatis there is a PartialList interface that suits just fine with the partial list of display tag.
If you have more specific questions let me know.
Regards,
Narcis Paslaru
From: "Shah, Shrihas (OFT)" <[EMAIL PROTECTED]>
To: displaytag-user@lists.sourceforge.net
Sent: Tuesday, December 12, 2006 6:16:08 PM
Subject: Re: [displaytag-user] Architecture Question.
Hi Narcis:
I appreciate your reply. Can you please send links about partial list? I have not worked with them.
Thanks and I appreciate your help.
Shrihas.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paslaru Narcis Eugen
Sent: Tuesday, December 12, 2006
9:56 AM
To:
displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user]
Architecture Question.
Hello,
If partial lists in not a solution then I don't think it's a problem of
displaytag.
You could use PartialList interface to mimic the sorting and paging, but I
don't know exactly how could you export all of the data.
I guess you could extend some classes to query the EJBs without the paging
& sorting attributes so that only when an export is done you get all the
data.
If this is any help I can give you more pointers in partial list, if not good
luck with your application !
Regards,
Narcis
----- Original Message ----
From: "Shah, Shrihas (OFT)" <[EMAIL PROTECTED]>
To: displaytag-user@lists.sourceforge.net
Sent: Tuesday, December 12, 2006 4:45:33 PM
Subject: [displaytag-user] Architecture Question.
Hi:
We are a websphere 6 shop running 2 appservers in clustered environement.
In one of our app, we have backend EJB environment (Not Hibernate for this app) and front side Strtus and we use displaytag library to display data that we receive from EJB’s.
The issue is that we retrieve about 5000 records from Database and we store them in session. The reason we store them in session is because we have paging and export functionality on these pages. There are many pages like that. Our session timeout is about 4 Hrs. We cannot chage these parameters.
This causes stale data to be stored in session memory for long time. Also if we do session sharing in our clustered environment, large amount of data will be transferred/shared between both the servers. This causes problems for other applications when they need memory. What can be the possible solution to this problem?
One of the way I was thinking is that, we should have some caching functionality and store this data in cache and retrieve them as necessary and store only necessary data in HTTP Request object. For this solution any suggestions on caching solutions?
Any other idea that anybody can suggest?
Thanks in advance for your suggestions.
Shrihas
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user