Jun 8th, 2005, 05:33 AM
How to do this !!!
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 ???
Jun 8th, 2005, 06:23 AM
Last edited by robyn; May 14th, 2006 at 10:58 AM.