We would want different logging configurations for different profiles in Spring Boot, like in local running we would just want console logging and for production, we would want file logging with support […]
Getting to know about java.nio.file.Path – 2
In Part 1 of this, we looked at most of the APIs in the java.nio.file.Path class. In this article, we will look at the remaining APIs. Using register() This API allows us […]
Getting to know about java.nio.file.Path – 1
Introduction The last few released of Java namely Java 7, Java 8 and the upcoming Java 9 have quite a lot of features which makes the life of Java developers easier. (I […]
Gotcha: Migrating from Spring Security 3.2.x to Spring Security 4.x

Here is a simple gotcha to keep in mind while migrating to newer Spring Security version 4.x from Spring Security 3.2.x What’s the problem? The Spring security configuration expressions hasRole(‘role_name’) and hasAuthority(‘role_name’) […]
Deep dive into Optional class API in Java 8
We all as Java programmers been through the situation where in we invoke a method to get some value and then instead of directly invoking some methods on the return value, we […]
Book review: Core Java, Volume II–Advanced Features (9th Edition)
http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-136978840229968837 I always liked the approach Cay S. Horstmann takes in the examples in his Core Java books. He tries to follow good practices in all his examples which includes better naming […]
Whats in store for Project Lambda in Java 8?
There are lot of things happening in the Project Lambda branch of JDK 8 and these are quite significant for Java programmers. I know lot of Anti-Java people would criticize these changes […]
Developing a sample Todo desktop application using JavaFX and MongoDB
I wanted to explore learning to use MongoDB with Java and the best way to do this was to develop a toy application. And to add to this, I thought of using […]
Using JDeodorant to refactor java code
I got to know about JDeodorant– a tool for identifying bad smells in code and helping it to refactor. I got curious and downloaded its Eclipse plugin, I then picked the first […]
Play Framework Cookbook review
In a previous post I had mentioned that I would be soon reviewing the Play Framework Cookbook. So here it is- Chapter-1 Basics of Play Framework– Concise coverage of basic features of […]