Spring
-
Enterprise Java
URL shortener service in 42 lines of code in… Java (?!) Spring Boot + Redis
Apparently writing a URL shortener service is the new “Hello, world!” in the IoT/microservice/era world. It all started with A…
Read More » -
Enterprise Java
Validation groups in Spring MVC
Validation constraints in Bean Validation may be added to one or more groups via groups attribute. This allows you to…
Read More » -
Enterprise Java
Upgrading Spring 3.x and Hibernate 3.x to Spring Platform 1.0.1 (Spring + hibernate 4.x)
I recent volunteered to upgrade our newest project to the latest version of Spring Platform. What Spring Platform gives you…
Read More » -
Enterprise Java
Spring MVC Integration Testing: Assert the given model attribute(s) have global errors
In order to report a global error in Spring MVC using Bean Validation we can create a custom class level…
Read More » -
Enterprise Java
Spring Batch as Wildfly Module
For a long time, the Java EE specification was lacking a Batch Processing API. Today, this is an essential necessity…
Read More » -
Enterprise Java
Deploying a Spring boot application to Cloud Foundry with Spring-Cloud
I have a small Spring boot based application that uses a Postgres database as a datastore. I wanted to document…
Read More » -
Enterprise Java
Tutorial – REST API design and implementation in Java with Jersey and Spring
Looking to REST in Java? Then you’ve come to the right place, because in the blog post I will present…
Read More » -
Enterprise Java
Spring 4.1 and Java 8: java.util.Optional
As of Spring 4.1 Java 8’s java.util.Optional, a container object which may or may not contain a non-null value, is…
Read More » -
Enterprise Java
How to compose html emails in Java with Spring and Velocity
In this post I will present how you can format and send automatic emails with Spring and Velocity. Spring offers…
Read More »