This is my first Question on Stackoverflow, so please be easy on me. I am trying to figure out a way to have all my .jar files in one dedicated folder so they can be accessed by different applications. This includes web services. Mainly I am looking for a clean way to have one dedicated Folder on a machine where i can exchange .jar files wich then are used by other .jars as well as web services.
Currently i build .jars and deploy those into .war files and then have tomcat deploy those as webservices. This works but is quite unpractical. What i would really love to have is a way to change .jar Files in one folder not having to recompile and redistribute my .war files.
Basically i would need a way to set my primary classpath so that .war and .jar files always pull classes they depend upon from one dedicated folder.
Is this possible? Or rather... is this possible in a sensible way?