Forums Register Login

Jboss caching of entity beans

+Pie Number of slices to send: Send
Hello,

I bumped into a problem while working with caching. In an application I am developing, I defined 2 entity beans both referring to the same table in the db and each of them is in a different module (jar). Of course when I use caching, I face inconsistency bec. if I edit from one module, it is not reflected in the other since from jboss's point of view, they are 2 separate things. How do I overcome this?
P.S:
I am using jboss.
I need 2 entity beans representing the same table bec. I need that entity to have relationships with other entites from both jars and since I can't have relationships between beans not contained in the same jar, this seemed like the only thing to do.
Suggestions?
If you are using a rototiller, you are doing it wrong. Even on this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 414 times.
Similar Threads
unable to run ejb client
How to handle CMR entity beans?
What is the use of DBSchema in SUN ONE
Beginner Problem: son & parent
Relationship-caching in weblogic 8.1 ?????
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 02:33:49.