上QQ阅读APP看书,第一时间看更新
Thin and hollow JARs
As we said before, during the standard Maven plugin operation, the resulting application contains both the Swarm server and the application that is deployed on it. We can change that behavior. Let's suppose that we deploy our application in the cloud and later push new changes to its code. Since it is the application code that changes in most cases, we would like to create the container with the server in the cloud and later push only code to it. How are we able to do it? By using hollow JARs.