Announcement Announcement Module
Collapse
No announcement yet.
hibernate sessionFactory visibility with Aop Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • hibernate sessionFactory visibility with Aop

    Hello!
    I wrote a web Application wich uses Spring + Hibernate;
    the Dao classes extends HibernateDaoSupport and uses a LocalSessionFactoryBean.
    I have also a web application that runs in the same context and
    i'd like to reuse the Dao that I wrote for the first application.
    To do this I wrote a spingconfig.xml and i put it in the JBOSS_HOME/bin
    directory.
    How can I reuse the same sessionFactory for both Applications?
    Thanks a lot
    Ga
Working...
X