How to Use MongoDB with Spring Boot and Spring Data

02.08.2017 by Jens in Spring Boot | Spring Data

Working with Spring Data has the huge benefit that you work with a common interface regardless of the underlying storage medium. Yet, it’s still transparent enough. In today’s tutorial, we will use it with a MongoDB.


Expose Your Spring Data Repositories as a REST API

01.08.2017 by Jens in Spring Boot | Spring Data

There’s an easy way to build a REST API for your Spring Data repositories instantly. It doesn’t matter if you are using JPA, MongoDB or any of the other stores available with Spring Data. Spring Data REST is the little helper. In this tutorial, we will take a closer look at how you can use it.


Is Spring Boot for Microservices only?

12.07.2017 by Jens in Spring Boot

Last week I was chatting with a friend and he told me how lucky he is that a part of their system moved to using Spring Boot. It made his life easier with development and testing. He actually loved writing tests now. However, one of his colleagues did question the decision to go with Spring Boot because Spring Boot is meant to be used with Docker and for microservices only. I was baffled but it seems there’s a lot of confusion what Spring Boot actually is and when to use it. This article does shed some light on it.


Deploying a Spring Boot Application to Heroku

27.06.2017 by Jens in Spring Boot

This post is the second part of a series of how to deploy a Spring Boot application to the cloud. We’ll deploy to Heroku today.


Deploying a Spring Boot Application to IBM Bluemix

19.06.2017 by Jens in Spring Boot

This post is the first part of a series of how to deploy a Spring Boot application to the cloud. We’ll start with IBM Bluemix.


Detecting a Mobile Device with Spring Boot

15.06.2017 by Jens in Spring Boot | Spring MVC

Detecting mobiles is straight forward with Spring Boot when you know there’s a secret module that does the heavy lifting: Spring Mobile.


Should I learn Spring or Spring Boot is the Wrong Question

01.06.2017 by Jens in Spring Boot | Learning | Developers Life

There exists a lot of confusion about Spring Boot and its relationship to the Spring Framework. Some of that lead to questions like “Should I learn Spring Boot rather than the Spring Framework” or “Do I need to know Spring before I can start with Spring Boot?”.


How to Create Your Own Starter for Spring Boot

24.05.2017 by Jens in Spring Boot

Spring Boot provides a good set of starters for the popular open source frameworks used in modern Spring applications. However, it is not limited to that, and we are not at the mercy of the Spring Boot gods. We can create our own starters.


Uploading a File(s) with Spring MVC and Spring Boot

23.05.2017 by Jens in Spring Boot | Spring MVC

Uploading a file with Spring MVC is pretty easy, and it gets even easier when running in Spring Boot. However, it’s one of the tasks a developer does once in a while and therefore is pretty easy to forget. The page is a reminder for all of us.


Add Custom Information to Spring Boot Info Actuator

10.05.2017 by Jens in Spring Boot

The Spring Boot Actuators are a big helper and time saver when you bring your application into production. They expose different types of information, like health, metrics, dump, info, etc. out of the box and you can even expose your informations via well-defined interfaces.