• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jboss caching of entity beans

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic