Results 1 to 2 of 2

Thread: How to do this !!!

  1. #1
    Join Date
    Mar 2005
    Posts
    9

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    Last edited by robyn; May 14th, 2006 at 10:58 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •