Enterprise Java
-

@ControllerAdvice improvements in Spring 4
Among many new features in Spring 4 I found @ControllerAdvice improvements. @ControllerAdvice is a specialization of a @Component that is…
Read More » -

Simple CRUD using Servlet 3.0, Redis/Jedis and CDI – Part 2
In this post we will focus on CDI and Servlet 3.0. You can see part 1 here. Let’s start with…
Read More » -

Hibernate Facts: Equals and HashCode
Every Java object inherits the equals and hashCode methods, yet they are useful only for Value objects, being of no…
Read More » -

Hibernate Facts: Multi level fetching
It’s quite common to retrieve a root entity along with its children associations on multiple levels. In our example we…
Read More » -

RESTful Web Services with Java
REST stands for REpresentational State Transfer, was first introduced by Roy Fielding in his thesis “Architectural Styles and the Design…
Read More » -

Hibernate Facts: Knowing flush operations order matters
Hibernate shifts the developer mindset from thinking SQL into thinking object state transitions. According to Hibernate Docs entity may be…
Read More » -

Type Conversion in Spring
Here are few straight cases where we need type conversion: Case #1. To help simplifying bean configurations, Spring supports conversion…
Read More » -

Authentication and Authorization as an open source solution service
Designing a centralized service for all user data by implementing authentication and authorization (a&a) mechanism. I’ll share my experience and finalize…
Read More » -

Batch processing best practices
Most applications have at least one batch processing task, executing a particular logic in the background. Writing a batch job…
Read More »


