-
Enterprise Java
Consuming Spring-hateoas Rest service using Spring RestTemplate and Super type tokens
Spring-hateoas provides an excellent way for applications to create REST based services which follow the HATEOAS principle. My objective here…
Read More » -
Enterprise Java
Spring Integration Publisher
Consider a hypothetical requirement – You have a service class in your application and you want to capture some information…
Read More » -
Core Java
java.util.Random in Java 8
One of the neat features of java.util.Random class in Java 8 is that it has been retrofitted to now return…
Read More » -
Core Java
Java 8 parameter name at runtime
Java 8 will be introducing an easier way to discover the parameter names of methods and constructors. Prior to Java…
Read More » -
Enterprise Java
Spring 4 Conditional
Spring 4 is introducing a new feature called Conditional – an annotation targeted towards Spring components which generate beans and…
Read More » -
Enterprise Java
Reasons to consider spring-boot for your next Spring based application!
Spring-boot provides a quick way to create a Spring based application. There are some very compelling reasons to consider spring-boot…
Read More » -
Enterprise Java
Spring @Bean and PropertyPlaceHolderConfigurer
I was recently stumped by what I thought was going to be a fairly straightforward implementation – Consider the following…
Read More » -
Enterprise Java
Spring MVC Error handling flow
There are broadly three ways of handling an exception flow using Spring MVC, the objective being to intercept any application…
Read More » -
Enterprise Java
Testing Spring “session” scope
In a Spring based Web application, beans can be scoped to the user “session”. This essentially means that state changes…
Read More »