Java 8 had a major change for the date and time APIs, which was the inclusion of Joda Time APIs into JDK under the JSR 310: Date and Time API. This JSR […]
Launch Single-File Source-Code Programs in JDK 11
JEP 330 – Launch Single-File Source-Code Programs is one of the exciting features in the upcoming JDK 11(18.9) release. This feature allows executing your java source code directly using the java interpreter. […]
API Updates in Java SE 11 (18.9)
Java SE 11, which is also named as 18.9 (based on the new naming scheme which uses the year and month of release), is slated to be GA during the last week […]
Java 10 – JEP 286: Local-Variable Type Inference
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 […]