wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Use of cache through JNDI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Use of cache through JNDI" Watch "Use of cache through JNDI" New topic
Author

Use of cache through JNDI

amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
I have a webapplication(simple jsp,servlets). There are some desktop applications running on same servers using same database. To increase the performance, i thought of using any caching framework(Oscache,ehcache). Jsp can retrieve some data from database and some other data from cache. A background application can put data into cache and update data at appropriate time. I can put cache in jndi and webapplication can access cache through jndi. The data in cache will change later in application lifetime.
Is this is a good way to use cache across application or there are better way to do it.
Please also give the name of some free jndi/ldap servers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Use of cache through JNDI
 
Similar Threads
Design Question EJBs and Servlets
Entity Cache
Webspere 345 exam questions
Basic JNDI caching questions.
JDBC2.0 for DB2