Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-2009, 09:37 AM
Member
 
Join Date: Jul 2009
Posts: 1
Rep Power: 0
micheal.marky@gmail.com is on a distinguished road
Default portlet ehcache
Hi , I need a suggestion/solution from the experts here.
There are 5 portlets in my application and all of them make web service calls (different services) to get the data and displayon the portlets.
I need to implement Caching using the ehcache such that the request originating from the user is served from the cache if the data is available in the cache or else make a web service call to serve the request and also update the cache.

The question is how do i implement this. Do I need to create a separate ehcache.xml per protlet and implement the caching or shall i create a common jar project and configure all the caching properties in one ehcache.xml and include the jar file in all the 5 portlets (in each portlets war file, lib folder)

Please help, also is there a better solution to achieve this.

Thanks
Micheal Marky
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Tags
cahce, ehcache, portlet, spring

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Cached Item Was Locked" causing Select Statement: Hibernate + EHCache cloutierm Advanced Java 0 03-16-2009 12:53 AM
Portlet question Heather Advanced Java 1 07-14-2007 05:21 PM
Portlet Daniel Web Frameworks 1 07-06-2007 07:43 AM


All times are GMT +2. The time now is 03:36 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org