| Author |
Displaytag Performance issue
|
Mohammed Yousuff
Ranch Hand
Joined: Oct 17, 2007
Posts: 198
|
|
When we are using display tag it loads all the data in the DB to a collection and it show whenever the page was clicked. It works perfectly as of now. However when the data grows it will cause Memory Out Of bound Exception in the application (because we expected more than 50 lacks data will be generated). So, we came up with external a sorting option which is available in displaytag 1.1 and we are only using displaytag 1.0. Can you please advise me is there any way to solve this problem in displaytag 1.0 itself . Please let me also know some of the example codes to get a better idea Thanks a lot for your help Regards, Mohammed Yousuff
|
My Thoughts : http://passion4java.blogspot.com
Try not to become a man of success but rather to become a man of value.
|
 |
steve souza
Ranch Hand
Joined: Jun 26, 2002
Posts: 852
|
|
|
I don't know displaytag, but most people will say regardless of the tool 50000 elements should never be brought down to the browser. Find a way to better deliver what they user wants. For example ajax could be used to implement a type ahead feature.
|
http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
|
 |
 |
|
|
subject: Displaytag Performance issue
|
|
|