This tool is great! I came across SDKMAN in a Spring tutorial. It’s a tool like rvm which helps you to manage parallel version of a SDK for the JVM like: * Java * Gradle * Groovy * Kotlin * Maven * Scala * Spring Boot * Vert.x It’s what compelling, so I installed it […]

Embedded Jetty with Servlet and Annotations

How do I programmatically configure Jetty that I can use Servlet Annotations? If you doing just servlets with jetty, this article could be interesting for you. I show you how I did it. Here comes the configuration: And I defined the following dependencies in build.gradle. That’s all. Hope this helps! Here is the link to […]

Every push a build with Travis CI

Build and test your software projects automatically I wanted that cool build passed badge for my projects as I have seen at Github. So I had a look at Travis CI, which is a continuous integration service used to build and test software projects. Let’s have a look at the build file. .travis.yml That’s it. […]

Unit Testing Servlets with Mockito

A quick example how to write unit tests for servlets Okay, I’m writing a Servlet. So I want to write a unit test too. With Mockito this is a quite simple task. Here I show you a simple unit test for a Hello World Servlet. The Servlet returns only „Hello World“. Mockito offers various annotations. For […]