• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EAR with shared Spring context

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello.
I try to make EAR with 2 WARs
The problem is that I can't understand how make the shared mainContext for each WAR.
So, I have ~core.jar, ~ui.war, ~ws.war
~core.jar has a model, DAO, BO and other, and (if I understood right) he should have a parent context which will be shared for my WARs.
How can I do it? If you can explain me step by step.
Now I have this:

Please, don't laugh I just want to understand how is it works so I have to make this picture xD
so... I think I don't understand and make it wrong.
And... how to make this EAR? I mean - where I should put WARs in EAR (structurally).
Thanks in advance and sorry for my worst English.
 
reply
    Bookmark Topic Watch Topic
  • New Topic