This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes Caching in Struts? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Caching in Struts?" Watch "Caching in Struts?" New topic
Author

Caching in Struts?

Jes Sie
Ranch Hand

Joined: Jul 24, 2001
Posts: 188
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?


Thank you.<br /> <br />- Jess Sie<br /> <a href="mailto:jess@see-consulting.com" rel="nofollow">jess@see-consulting.com</a>
Adam Hardy
Ranch Hand

Joined: Oct 09, 2001
Posts: 566
Hi Simon,
what do you want to cache? Struts can store html form input in the user's session.
Adam


I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Jes Sie
Ranch Hand

Joined: Jul 24, 2001
Posts: 188
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

Joined: Oct 09, 2001
Posts: 566
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

Joined: Dec 10, 2002
Posts: 1
The neteye actioncache extension provides a caching facility for struts. Sources and documentation can be found at http://actioncache.neteye.de
-felix
 
GeeCON Prague 2014
 
subject: Caching in Struts?