Similar to this SO I'm trying to package several WAR
modules into a single ear
. I have been able to get each running individually as WARs
and packaged as an EAR. My current issue is in dealing with a shared context
. Essentially trying to separate RESTful
API from WS but sharing the underlying service context
.
Thus far the closest thing I can find close to this is Spring IO Blog; I'm hoping someone can point me in the direction of something a little more up-to-date as I'm having no luck.
There seem to be a number of ways to accomplish this via XML
but haven't run across anything more shared context xml