• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Creating a document view in a web application

Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

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?


Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic