Browse Month: March 2017

Java 8 Default Method Example

Let’s understand why we need default methods which have been added in Java 8. Assume that we have an Interface with some abstract methods  and it has many implementation classes. Now if we want to add new method in the Interface it means we need to change all implementations. Continue Reading

Spring Boot monitoring (Actuator endpoints)

One of the important thing is the monitoring of the production environment. And the Actuator endpoints will give us some capability to monitor the spring boot application. So for this we need to include the Actuator dependency in the pom.xml:

Continue Reading