Is there a way to share an app-context between two deployed wars? One war needs to wire-in the services of another, and I don\'t know where to start with this.
Agreed with @RichardSmith, the accepted answer was not helpful for me. While Richard's answer was helpful in pointing me in the right direction, I'm using Jetty so I can't use EAR. I ended up using the server context to share an object(s) between wars - works even with hot-(re)deployed webapps:
https://stackoverflow.com/a/46968645/1287091
Probably a way to adapt this for Tomcat as well.