Announcement Announcement Module
Collapse
No announcement yet.
Loading an applicationContext to another applicationContext... Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Loading an applicationContext to another applicationContext...

    Is it possible to load an applicationContext from one web app for use of another app? E.g. I have a web app which persists with hibernate to a mySQL 5.0 server. And I created an application that will retrieve fields from the same database as the web app. I have compiled the web app into a jar file using "ant war". Is it possible that I need not create another persistence code? Instead I will just somewhat import the managers and the DAOs to the application using the compiled library of the web app?

  • #2
    Originally posted by Jutrell View Post
    Instead I will just somewhat import the managers and the DAOs to the application using the compiled library of the web app?
    You can use a shared parent context.

    Joerg

    Comment


    • #3
      Thanks Jorg Heinicke, it's a very useful reference...

      Comment

      Working...
      X