Forums Register Login

Cache DTO's in Clustered Env. - How to?

+Pie Number of slices to send: Send
What are the ToDo's to be followed inorder to cache the DTO in the clustered environment.

For example:
I need to cache the some data when the application starts up and need to use that till the server is shut down.

Note: DTO is the Value Object - Plain Java Bean with attributes and public set and get methods.
+Pie Number of slices to send: Send
Hi Rajesh,

I don�t think there is any standard way of doing this. However different containers have different caching strategies. JBoss for example have a way to cache POJOs and replicate the cache across the cluster, while Weblogic on the other hand allows entity ejbs to be cached if they implement the readonly concurrency strategy.
What container are you using?
Regards.
+Pie Number of slices to send: Send
Thanks for your reply. I use weblogic.
+Pie Number of slices to send: Send
Look at the read only concurrency strategy for entity ejbs:
http://e-docs.bea.com/wls/docs81/ejb/entity.html
Regards.
I am not young enough to know everything. - Oscar Wilde This tiny ad thinks it knows more than Oscar:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 547 times.
Similar Threads
Hibernate and DTO
Cacheing: Real Time Data
How to maintain shared variable in a J2EE app deployed on a cluster?
Data sharing in clustered WAS6 environment
Hibernate-Clustering
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:13:51.