Re: OSCache and MVC

Mike Cannon-Brookes <[email protected]>
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <[email protected]>
Nicolas,

No, OSCache JSP tags only cache the presentation tier (or view), which 
is executed after your controller. You would need to implement your own 
custom caching in the controller for your scenario.

Cheers,
Mike

--
ATLASSIAN - http://www.atlassian.com/

Confluence - the professional J2EE wiki - tried it yet?
http://www.atlassian.com/confluence/

On 18/03/2004, at 6:14 AM, Fournier Nicolas wrote:

> Hi.
>
> I am currently evaluating OSCache as a web tier caching solution. We 
> are
> planning to use Struts as a framework to build the application on. 
> Being
> new to OSCache, I am digging to find out how OSCache can be as powerful
> as possible. So my question is, how can Struts be integrated with
> OSCache?
>
> More clearly, we plan that our bottleneck will be two things: page
> construction and ejb calls. Because of how struts work (I guess most
> MVC), the ejb calls are done before any jsp execution. Is it possible
> that when page construction is cached, that the ejb calls associated
> with it would not be executed ?
>
> Both are the same question, the second being just a clatrified version.
> Hope it is :-)
>
> Nicolas Fournier.
>
>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.