Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Caching in Struts?

 
Jes Sie
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not knowledgeable on what Strust can or can't do.
I'm interested to find out whether Strusts has presentation tier cache mechanism.
If so, how to they deal with stale objects that are cached?
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Simon,
what do you want to cache? Struts can store html form input in the user's session.
Adam
 
Jes Sie
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Adam Hardy:
Hi Simon,
what do you want to cache? Struts can store html form input in the user's session.
Adam


Java objects retrieved from the server side.
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean, from the database? Struts leaves it to you to keep or destroy your data objects. There are other frameworks that cover database access architecture, and they automate caching.
There are many though and I don't know which cache automatically - try Sun JDO,
Oracle http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html
Castor JDO http://castor.exolab.org/
ObjectRelationalBridge http://objectbridge.sourceforge.net/
 
Felix Gnass
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The neteye actioncache extension provides a caching facility for struts. Sources and documentation can be found at http://actioncache.neteye.de
-felix
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic