• Post Reply Bookmark Topic Watch Topic
  • New Topic

Caching Objects  RSS feed

 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I want to cache some application specific objects.How can i do it in the best way in struts.
 
alan wamser
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could cache the objects in the session. You could also take a look at the Singleton design pattern.

If you could provide more details...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!