Hi experts,
Currently I am using IDE with gradle configured and develop JAVA web applications, by doing this I can run my application in development environment. Usually the next step is to output the application as a war, and deploy it in the Tomcat(I don’t build the Tomcat itself into a jar). But I would like to separate the deployment for my application and its dependent libraries(e.g., spring framework), my idea is to use gradle managed dependency as a Tomcat external library. I am wondering if it is possible, or if other web servers support this, please also let me know, thanks a lot.
Why would you want to do that instead of simply having the libs included in the war as is usual?
Can you elaborate on the use-case?
Also I did not really understand how your idea would work. But whether Tomcat or and other server can do what you imagine is probably more a question for their communities instead.
I think if you have multi projects/apps, centrally managed libs make things easier. But to be fair, it’s more like a question for web server community.