aspose file tools*
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
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%
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Value List handler- where it should reside and cache?