Spring boot Actuator Example – Integration with rest service

What is Spring Boot Actuator ? Spring Boot Actuator is a spring feature which allows any web-app developer to add features to their web-services and applications to make them production-ready, such as monitoring and administration. The actuator is available as a library which attaches on-the-fly and provides tools to manage a web app by monitoring … Read more

Flyweight Design Pattern

Flyweight design pattern falls under the structural design pattern category. Sometimes, our applications hit slow performances. This can be due to various reasons. Instantiating many amounts of heavy objects can be one of the very common reasons for the low system performance. This can be rectified by the flyweight pattern successfully. Flyweight pattern introduces a … Read more

Java 8 – Lambda expressions

Java 8 Lambda expressions

Let us look at lambda expressions, which is one of the most important features introduced in java 8. Before we look at lambda expressions, let us first understand the functional interfaces and anonymous classes. What is functional interface? Functional interface means an interface that has exactly one abstract method. They have only one functionality to … Read more

REST API Interview Questions

Rest APi interview Questions

Here is a list of top 15 REST API interview questions and answers.  These questions would provide you with basic information about both simple and advanced topics. What is REST API ? REpresentational State Transfer, or REST for short, is an architectural style for building distributed, client-server systems. By providing a small set of useful … Read more

Mock Interviews for Java developers

Are you preparing for interviews specifically for a Java developer position. Why not try a mock interview with us. Our interviewers would conduct a short half an hour interview with you. You can pay as you wish for the interview. Fill the contact form below and we will send you an invite for a skype … Read more

Proxy Design Pattern with examples

proxy design pattern overview

Introduction to Proxy Pattern Proxy design pattern falls under the structural design pattern category and it is one of the most frequently used pattern in software development. This pattern helps to control the usage and access behaviours of connected resources. A separate object called ‘proxy’ helps to build the connection between the client and the … Read more

RESTFul webservices with Jersey And Spring

reset service test

JAX-RS and Jersey JAX-RS, is the “Java™ API for RESTful Web Services (JAX-RS)”. Documented in JSR 311 & JSR 339 it specifies a bunch of interfaces and annotations that can be used to define RESTful Webservices in java. Jersey is a reference implementation of JAX-RS Spec. In addition to implementing the JSR 331 and 339, … Read more

What is Visitor Design Pattern?

Visitor is a behavioural type of design pattern. Although this is not a very popular design pattern due to its narrow applicability, it can be carefully used to resolve complex behavioural situations. This pattern is useful when an object structure contains different kinds of operations to use in different situations. Elements of an object structure … Read more

Spring MVC Controllers

Spring MVC Controller provides simple but great way for creating Web Application using Java technology. Spring gives developer to ease of development using MVC design pattern. MVC stands for Mode-View-Controller, in this approach we can divide out software development into 3 layers namely Model, View, and Controller. Model layer is responsible for data related works, … Read more

New features in Java 10

Recently Oracle has announced the general availability of new features in Java 10 (JDK 10) on Mar 20, 2018. We can download Production-ready binaries of JDK 10 under the GPL from: Oracle [ http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html ] OpenJDK [ http://jdk.java.net/10/ ] Oracle has now shifted to a 6 months’ release pattern. Therefore, users will not be getting … Read more