Reduce frequency of deployments in a Java web application using Spring-MVC
-
01-10-2019 - |
문제
Is there a simple way to have your "Service Layer" deployed separately from your web layer, so that I can reduce the number of times per week that I have to, package, build and deploy the entire WAR file?
I'm using Tomcat mostly, but I'm hoping for something more generic to Java web servers.
해결책
If the package-build-deploy process is necessary, but heavyweight enough that you want to minimize or avoid it, you might also consider making that process easier, faster, or more automated.
다른 팁
You could move your "service layer" to a second application and have the front-end application communicate with the "services" using some sort of remoting technology.
Spring Remoting (a.k.a. HttpInvoker) makes this very simple to use.
제휴하지 않습니다 StackOverflow