Caching instances in a jee web app
Posted
by SibzTer
on Stack Overflow
See other posts from Stack Overflow
or by SibzTer
Published on 2009-09-19T17:07:49Z
Indexed on
2010/04/07
17:33 UTC
Read the original article
Hit count: 259
Hi,
Consider the scenario of a typical webapp with JSFs on the front and ejb3, with Hibernate as JPA provider, talking to backend database such as mysql, etc. The main user actions are login and mostly CRUD operations (minus any D(elete) operations). And the App Server is GlassFish of course.
Given this scenario, how and where all would one go about providing caching to improve performance? From what I have googled, I have seen that hibernate provides some sort of caching through different cache providers. Is there any sort of caching that can be provided for the jsf pages? How about session beans or entity beans on the ejb side of things?
Also, I just read about memcached and was wondering if this was something to consider?
© Stack Overflow or respective owner