REST – Spring Boot

Since its inception in 2002, the Spring framework saw a tremendous growth in terms of functionalities which ultimately made the framework a bit complex. One of the main error-prone areas in traditional Spring programming was, of course, the enormous amount of config XML files that one had to create for a fairly large Spring project. … Read more

REST Service Using Spring

In this tutorial, we will be learning how a RESTful service can be built with Spring. We would be creating a simple Restful service using spring and running it in eclipse. Tools We will be using the following tools for development in this tutorial. Maven 3.3.9 Java Spring Tool Suite [ standalone or eclipse plugin] … Read more

REST Client Using Jersey

Creating REST Client In the previous tutorial, we created a simple REST service that responds to a HTTP GET call. We saw it working by opening the page in a browser and seeing the correct results. In this tutorial, we will see how to create a REST client that consumes the simple service that we … Read more

RESTful Service with Java using Jersey

What is REST? REST stands for Representational State Transfer. It is an architectural style based on HTTP protocol and was conceptualized by Roy Fielding way back in the year 2000. In REST service, everything is a resource and every resource has an id. The resources reside at the REST server end and is consumed by … Read more


Task: We have to sort an array of some values using Heapsort in Java. The time complexity of Heap Sort algorithm is O(n * log(n)) as in the average case so in worst and best cases. The essence of heap sort is in finding the maximum value in non-sorted part of the array, putting it … Read more

Java Regular Expression Interview Questions

In this article, we would be going through the mostly asked Java Regular expression interview questions and answers. Even if you are not a great fan of interview questions, this post may offer you some interesting excercises on Regular Expressions. Java Regular Expression Interview Questions and Answers What are the classes in Java that helps to … Read more