The traditional way to run a Spring web application on a remote server is to package it into a war file and deploy that file into a servlet container. Although this method has served us well in the past, managing multiple servlet containers has
My previous blog post described how we can add integration tests to our Gradle build. A few days after I had published that blog post, I learned that we don’t have to do everything from the scratch (thanks David) because we can simplify our build
Because the standard project layout of a Java project defines only one test directory (src/test), we have no standard way to add integration tests to our Gradle build. If we want to use the standard project layout, we can add integration tests to
This blog post describes how we can create a web application project with Gradle. To be more specific, we want to create a web application project that uses Java, package our web application into a WAR file, and run our web application in a
Although we can create a working application by using only one module, sometimes it is wiser to divide our application into multiple smaller modules. Because this is a rather common use case, every self-respecting build tool must support it, and
After we have created a useful application, the odds are that we want to share it with other people. One way to do this is to create a binary distribution that can be downloaded from our website. This blog post describes how we can build a binary