Spring
-
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 » -
Enterprise Java
Spring, REST, Ajax and CORS
Assuming you’re working on a project based on JavaScript for the client side and who makes ajax requests to a…
Read More » -
Enterprise Java
Auditing infrastructure for your app using Spring AOP, Custom annotations and Reflection
The next post will demonstrate how to write simple auditing using Spring AOP and annotations. The auditing mechanism will be…
Read More » -
Enterprise Java
Common mistakes when using Spring MVC
When I started my career around 10 years ago, Struts MVC was the norm in the market. However, over the…
Read More »