I'm developing a web application in J2EE using Struts and Ibatis. Now I'm at the point I have a problem that we also have in my company.
I've created the data layer with the beans as well as some logic. Now I want to build a view, where documents in my database are listed and where the user can browse forward and backward, using page forward and back buttons or go directly to a page by clicking on it.
How do I realize this the best way, especially if I have some very big views with a lot of documents. I got the view in form of an ibatis PaginatedList-Object. Is it usual to hold the view object in the session. I'm thinking about a problem, that many users with big views will blow up the session. Or is it more usual to persist the viewObject and reload it on request.
Are there any links to pages related to this problems, or are there any patterns of "creating an efficient view" to display many documents?