Java 10 is around the corner with RC Build available here. The features targetted for this release can be found here. Of all the JEPs targetted for Java 10, the interesting and […]
Sample Logback Configuration for Spring Boot Profile Based Logging
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 […]
Java Interface – Journey Over the Years to Java 9 – Default and Private Methods
Introduction Interface in Java has evolved over the Java releases more so in Java 8 and Java 9. In this article we will look at how Interface was prior to Java 8 […]
Configure Embedded H2 Console With Spring MVC Application

In our previous post we deployed a Spring MVC app using embedded H2 database to Tomcat. Browsing the data in an embedded DB is difficult because we cannot connect an external client […]
How to Deploy Spring Application Without web.xml to Tomcat

Introduction Since the Servlet 3 specification web.xml is no longer needed for configuring your web application and has been replaced by using annotations. In this article, we will look at how to […]
My First book Java 9 Cookbook, Packt Publications – Over 100 Java recipes covered
Packt Publications recently published Java 9 Cookbook co-authored by me along with my co-author, a seasoned developer, Nick Samoylov. Yes!! This is my first publication and hopefully first of much more to […]
Using Gmail as SMTP server from Java, Spring Boot apps

Gmail users can use Gmail’s SMTP server smtp.gmail.com to send emails from their Spring Boot apps. For this let us do some setup in the app: Provide SMTP connection properties in the application.properties […]
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 […]
Behavior Driven Development (BDD) of Postfix calculator

What is a postfix expression? An expression where in the operator is placed after the operands is called a postfix expression. For example an expression (also called infix expression) 2 + 3 […]