I have a few tomcat applications, deployed in tomcat using .war files. Even though these wars are separate from each other, they are all part of a larger concept / application, and quite often, one war needs to call code from another war.
Let's say I have 2 .wars, "a.war" and "b.war"... I would like to be able to use some classes found in "a.war", from within "b.war". One option of course is to split the common code out into a third ".jar", but for reasons that I don't want to get into, that will cause other problems (and besides, in my case it's not so much a case of "common code", but more like "one application calling another".)
What are my options here?