Announcement Announcement Module
No announcement yet.
How to do this !!! Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to do this !!!

    Hi all

    I want to build an app that can share the persistance layer with multiple web apps.

    If i was using ejb (i don't want to, i want to use hibernate) i could have an ejb persistance layer...

    Then i could have multiple web apps share this. This way hibernate can cache stuff that is shared across both web apps.

    What i would like to avoid is deploying hibernate in both webapps and then duplicating cache. they will both point to the same db.

    Can i maybe use mbeans for this (jmx) have the hibernate DAO in an mbean then the web apps can call this ???

  • #2
    Take a look at
    Last edited by robyn; May 14th, 2006, 10:58 AM.