• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use of cache through JNDI

 
amit sharma
Ranch Hand
Posts: 129
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic