EJB design: Java/J2EE object persistence - challenging question
We have an EJB application running in GemStone(app server).
- Posted by: anand andrews
- Posted on: May 10 2003 06:29 EDT
GemStone provides a persistent cache mechanism using which we have created simple java rmi objects that store/bootstrap into them static data(huge volume) from oracle db eg:- All import/export rules for all countries.
Copies of these objects are looked up based on the need for the cached data, through normal JNDI by the stateless EJB while processing each transaction.
We are converting from GemStone to WebLogic due to inevitable reasons. But we think WebLogic does not provide any similar persistent cache mechanism.Is this true?
If it is not true please suggest any alternative caching mechanism available in weblogic or advise if it can be achieved thru other third party tools.
I would appreciate and welcome your suggestions.
I would point you to Tangosol's Coherence clustered caching product. By leveraging Coherence's Distributed Cache technology and it's read-through, write-through and write-behind support (for persisting cached data to a datastore) you could achieve the same architechture you have in place now with a small amount of changes.
Some other features worth mentioning, cluster-wide locking, cluster-wide event notification, Transactional caching, NIO and grid-computing support.
Coherence: Cluster your Work. Work your Cluster.
Does WebLogic have read-only entity beans? By read-only here I mean the entity beans only read the data one time, not re-read. I remember WebLogic have read-only entity beans but I'm not sure their concept conform to this. If it does, you can use read-only entity beans for data caching.
Follow this link and search on ReadOnly :