jboss « Cache « JSP-Servlet Q&A





1. How to prime cache and keep it updated    stackoverflow.com

I'm planning on caching some information using ehcache. Normally, I would follow the pattern:

if data in cache
   return from cache
else
   lookup from source
   put ...

2. Where jboss keeps the cache for the compiled jsp files    stackoverflow.com

Where does JBoss keeps the compiled jsp files (cached servlets), something similar to work directory of Tomcat. I googled to find it but not getting any straight answer for this. Sorry ...