This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Value List handler- where it should reside and cache? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Value List handler- where it should reside and cache?" Watch "Value List handler- where it should reside and cache?" New topic
Author

Value List handler- where it should reside and cache?

Ajaz A
Greenhorn

Joined: Jan 15, 2007
Posts: 21
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...


SCJP (310-035) 84% | SCEA 91%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Value List handler- where it should reside and cache?