aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Cache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Cache" Watch "Cache" New topic
Author

Cache

PrashantSonar CSN
Greenhorn

Joined: Sep 30, 2003
Posts: 11
I have two system running on two seperate JVM's and two seperate App Servers(both are weblogic 6.1),the important functionality is on both the system there is a cache program which holds data in HashMap but both are shairing the same database..
So for commuincating with both the cache or synchronize the cache as changes happen at any end should be reflected at another end, currently I am using http call to notify the change at one end so accordingly another program removes the old values and when next request comes it refreshes the data. This is all happening in current scenario....
This complete thing is in Java programs so now I want only one cache for both the servers which will share the same database.
So Client want to use J2EE means ur EJB feature so what kind of bean is useful for this scenario..?
On which server it needs to be deployed or will there be any server clustering?
And how the notification process for synchronization of changes in database will happen...?
Throw some ideas.....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cache