While it is possible to put some of the librarie out of .war, inside
common, you must be aware of side effects. Libraries like struts are not
designed to run multiple context within a given classloader (The
servelt, for example, can only be instanciated once). I don't know for
Hibernate and for
I have the same situation as you,
right now working on admin interface, which actually does a lot of same
stuff as a web app (most of the Hibernate stuff / persistance manager
classes/ lot of business logic).
But after lot of thinking, I supose it's not a good idea to share the
stuff,