• Post Reply Bookmark Topic Watch Topic
  • New Topic

Value List handler- where it should reside and cache?  RSS feed

Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working on an application which, like many, displays a subset of a large data set with Next Page/Previous Page links. This seemed like a perfect application of the Value List Handler pattern.

My question, however, is this. It mentions that the Value List Handler is cached on the server side. Where is a good place to cache this list? One of the requirements of the application I'm working on is that the amount of "stuff" placed in the user's session should be minimized. Is the user's session the only place that makes sense for this? Or is there somewhere else it can be cached and tied to that particular user?

For thick clients can I keep the value list handler at the client side and not at the server side ? This way I can cache the results at the clients side and will keep the search functionality a SLSB.

Thanks in advance for your help...
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!