Spring MVC

Spring From the Trenches: Returning Runtime Configuration as JSON

If we need to figure out the runtime configuration of a Spring web application that is deployed to a remote server, we need to the read the properties file found from the remote server. This is cumbersome. Luckily, there is a better way. This blog post describes how we can Write the runtime configuration to […] Read more

Using Asciidoctor with Spring: Rendering Asciidoc Documents with Spring MVC

Asciidoc is a text based document format, and that is why it is very useful if we want to commit our documents into a version control system and track the changes between different versions. This makes Asciidoc a perfect tool for writing books, technical documents, FAQs, or user’s manuals. After we have created an Asciidoc […] Read more

10 Most Popular Blog Posts of 2013

I noticed that Eugen Paraschiv wrote a blog post which lists the most popular articles of 2013 which were published at his website/blog in 2013. Because I think that it is a great idea, I decided to publish my own list as well. Here is my list (all blog posts were published in 2013): Unit […] Read more

Adding Social Sign In to a Spring MVC Web Application: Configuration

In the good old days users logged in by using the combination of username and password. Although nowadays some people still prefer the traditional way, a growing number of users want to sign in by using their social media accounts. This is a what makes Spring Social (and its sub projects) an useful addition to […] Read more

Screencast: Unit Testing of Spring MVC Controllers - REST API

This video is outdated! If you want to learn how you can write unit tests for a Spring MVC REST API, you should take a look at my updated Spring MVC Test tutorial. It describes how you can write unit tests for a Spring MVC REST API with JUnit 5. This is the third part […] Read more