Wednesday, October 8, 2025

Top 5 Books to learn REST and RESTful WebServices for Java Programmers in 2025

The REST framework has now become the standard way to develop Web Services on the Internet. It's no more SOAP, who used to rule the world for the last two decades. The SOAP and XML went very well together in the past decade but it seems now REST and JSON have overtaken them and doing even better, thanks to the rise of JavaScript for both frontend and backend development. Since Java is also one of the most popular languages to develop backend services, there is a lot of demand for Java developers who know web services and can implement and expose existing SOAP-based services into REST style, light-weight web services.

Wednesday, March 12, 2025

Top 5 Udemy Courses to Learn GraphQL for Beginners in 2025 - Best of Lot

If you are a full-stack web developer then you might have heard about GraphQL, another exciting technology. GraphQL is gaining a lot of popularity because of its superiority over traditional REST APIs. Many big companies like Facebook, Coursera, Github, and Yelp have already started using it, which has also helped a lot in terms of gaining popularity. There is a good chance that you might have already have heard about GraphQL in blogs pots, on Medium, or, in general, Web, but like many others, not sure whether it's worth learning or not, and if yes, from where to start. Well, I have been learning GraphQL since last week, and I would like to share some of the resources I have been using for my learning.

Friday, February 21, 2025

Top 5 Udemy Courses to Learn Swagger or Open API for Beginners in 2025 - Best of Lot

 Hello guys, if you want to learn Swagger and looking for the best online courses then you have come to the right place. In the past, I have shared the best REST API courses as well best Postman courses, one of the best tools to test REST API and in this article, I am going to share the best online courses to learn Swagger in 2025. I have curated this list from my favorite online learning platform like Udemy, Pluralsight,  and Coursera and they are suitable for both beginners and intermediate developers who want to master the Swagger tool. But before we jump into these courses Let us start with the simple stuff first. What exactly is Swagger and Open API?

Top 5 Udemy Courses to Learn REST Assured for Testing in 2025 - Best of Lot

Hello guys, if you want to learn REST Assured tool for testing your API and RESTful Web services and looking for the best online courses to learn REST Assured then you have come to the right place. In the past, I have shared the best online courses to learn various REST API development tools like Postman, SoapUI, and Selenium, and today, I am going to share the best REST Assured courses to learn this useful tool in 2025. These are the best resource I can find to learn REST assured, particularly when it comes to choosing online courses and they are from popular online platforms like Udemy and Pluralsight. You can join one or two of these courses to master this excellent tool to automate your REST API Testing.

Top 5 Udemy Courses to Learn API Development (REST, SOAP, Web) in 2025 - Best of Lot

Hello guys, if you want to learn API development and looking for the best resources like online courses, training classes, and tutorials then you have come to the right place. Earlier, I have shared the best courses to learn Spring and RESTful web services and in this article, I am going to share online courses to learn API development. Application Programming Interface, commonly known as API is used as a source of communication between applications. By using API, features, or services of an application can be used in another application. API development has become an integral part of modern application development. Today, a full-fledged application is incomplete without APIs.

Top 5 Udemy Courses to Learn SoapUI REST Testing tool in 2025 - Best of Lot

Hello friends, if you want to learn SoapUI a looking for the best resources like online courses and books then you have come to the right place. In the past, I have shared the best books and courses to learn RESTful Web Services, both REST and SOAP, and today we are gonna take a look at the best available SoapUI courses online. If you have developed any public or private API then you may have faced challenges about testing your API, both pre and post-release as well as automating common test scenarios. While there are a lot tool tools like Postman, RESTAsssured, and a few others, SoapUI is one of the best tools for testing APIs and automating tests cases. 

Wednesday, February 19, 2025

Top 5 Udemy Courses to Learn RESTful Web Services in Java with Spring for Experienced Developers in 2025

In the last article, I have shared some courses to learn Microservice development with the Spring framework, and today, I'll talk about RESTful web service developments. The REST API and RESTful Web Services need no introduction, it's everywhere now and driving a new internet revolution. Most of the software development in the web space now also involves REST APIs. Gone are the days where the only interface for a web application was the browser, now most of them support REST APIs, which allows them to be accessible on any device like mobile devices, tablets, apple watches, and any other digital gadgets. It doesn't matter whether you are working for software giants like Amazon, Facebook, or Google or working with startups like Uber or Netflix, REST APIs are everywhere.

Thursday, January 16, 2025

Top 5 Tools for Testing REST APIs and RESTful Web Services in 2025 - Best of Lot

Hello guys, If you are a Java or web developer working on REST APIs and RESTful web services and looking for some tools to test your APIs and web services then you have come to the right place. Earlier, I have shared the best books and courses for RESTful web services and in this article, I am going to share five awesome but easily accessible and free tools to test your REST APIs. These REST API testing tools will help you to test your APIs as you build, starting from unit testing to integration testing and then fully automating your resting to create a regression pack. You can also use these tools to interact with your REST API during the development phase for quick tests. 

Thursday, June 6, 2024

How to version REST API? URL vs Header Versioning? Example Tutorial

Designing a real world, industry standard RESTful API can be a tricky challenge becuase there is no real standard exists. To add into that, there is also a lot of confusing topics e.g. PUT vs POST for creating and updating resources, or using URL or Header for versioning. There are a lot of advices you will find on internet often confusing and advocating one or other alternative, but it ultimately depends upon your own wisdom and use cases to come up with elegant RESTful URIs, which supports both filtering and versioning. There are both pros and cons of URL versioning and Hypermedia version, which we'll discuss in this article, but the most important lesson to learn is that you should always version your REST API

Tuesday, May 14, 2024

Top 20 Spring and REST Interview Questions Answers for Java/JEE Programmers

Hello guys, I have been sharing a lot of REST with Spring tutorials from last a couple of weeks and today, I am going to share some of the frequently asked Spring and REST interview questions to Java developers applying for Web developer roles. Since Spring Framework is the most popular and the standard framework for developing Java web application and RESTful Web Services, a solid knowledge of Spring core and Spring MVC is expected from any senior Java developer, but if the job description mention about REST and Web Services, you also need to be aware of how to develop RESTful Web Services using Spring Framework?.

Sunday, May 12, 2024

How to POST JSON request from Linux to test RESTful Web Services? Example

Even though, Postman is a great tool and chrome plugin to test RESTful Web services for Java developers, I often find myself using "curl" or "cURL" command in Linux for testing RESTful Web Services, particularly Java web services built using Spring or Spring Boot framework. The curl command is easily available on most of Linux hosts and you just need to type a command to sent various types of HTTP requests to your application from Linux command line, as shown here. Though, many RESTful web developer and tester knows this trick, they mainly use GET request to access data from web service and  many of them struggle to send HTTP POST request containing JSON data to create new resources. 

Thursday, May 9, 2024

How to Consume JSON from RESTful Web Service and Convert to Java Object - Spring RestTemplate Example

So far, I have not written much about REST and RESTful web service, barring some interview questions like REST vs. SOAP, which is thankfully very much appreciated by my readers, and some general suggestions about the best books to learn REST and best REST courses in the past. Today I am going to write something about how to consume JSON from a RESTful Web Service in Java using Spring Framework? I will also talk about how to convert the JSON to Java objects using Jackson. You will also learn about the RESTTemplate class from the Spring MVC framework, and how you can use it to create a REST client in Java in just a few lines of code.

Monday, May 6, 2024

How to set an "Accept:" header on Spring RestTemplate request? Example Tutorial

Hello Java programmers, if you have been using Spring for REST API development, both creation and consumption then you know that RestTemplate is one of the most commonly used tools for REST service invocations. So one of the major problems you might have in this RestTemplate is that how to set an "Accept" header on Spring RestTemplate request.  In the last article, I have shown you how to POST and Consume JSON using RestTemplate in a Spring Based Java application and In this tutorial, we will go through some important points on how to add headers to RestTemplate and fix the errors related to them. 

Friday, April 19, 2024

Differences between @RequestParam and @PathVariable annotations in Spring MVC?

The Spring MVC framework, one of the most popular frameworks for developing a web application in Java world also provides several useful annotations to extract data from the incoming request and mapping the request to the controller, like @RequestMapping, @GetMapping, @RestController, @RequestParam, and @PathVariable. Even though both @RequestParam and @PathVariable are used to extract values from the HTTP request, there is a subtle difference between them, which makes them a useful question from a Spring Framework interview and spring certification point of view. We'll examine the subtle difference between @RequestParam and @PathVaraible in this article.

Monday, April 8, 2024

How to send HTTP request using curl and wget command from Linux and UNIX? Example Tutorial

You can use either curl or wget command to send HTTP requests from UNIX or Linux operating system. Both commands allow you to send GET and POST requests, which means you can also call REST web services.  I have a Java web application, which runs on Linux and exposes WebServices. I was writing a UNIX script to download In some data from that web service when I hit by the question, how do I make an HTTP call from UNIX? What is the UNIX command should I use? If you are also facing the same problem, then you have come to the right ht place. Basically, you can use two UNIX commands to make the HTTP request, wget, and curl.

Thursday, March 14, 2024

Top 10 HTTP Status Code Every RESTful web Service Developer Should know

A good knowledge of HTTP protocol is must for a RESTful Web Service developer because REST uses HTTP principles and a good portion of its popularity is due to HTTP itself. One of the important part of HTTP is the status code, which gives useful information related to client request. They are also known as HTTP response code because they are sent in header on HTTP response by Server to indicate what happened with client's request. The status codes ranges from 100 to 500 but not all of them are valid and useful. Instead the first number e.g. 1xx or 2xxx denotes the class of status codes. 

Monday, October 30, 2023

Why Java and Spring Developers Should Learn RESTful Web Services and Microservices

More and More companies are adopting  Microservices architecture e.g. Uber and Netflix already uses it and many startups I know is choosing REST and MicroService as the standard way to build and provide their services. This is fueling the demand for programmers who can develop robust and scalable Microservices and RESTful Web Services. Since Java is one of the most popular language for developing backend, it is also benefiting from this trend. The demand for Java developers who knows Spring framework and understand how to build RESTful web services is huge and that's why it has become a key skill in Java application development job market. 

Tuesday, September 12, 2023

Top 13 REST Web Services Framework Interview Questions Answers

Hello guys, today's world is about Microservices and REST architecture is the one which powers Microservices. REST web services have quickly become the defacto web services in the web development world and have almost replaced SOAP-based web services that rule the world before. With the growing use of REST APIs in web technology space REST is also becoming increasingly important on J2EE and other web development interviews and if you say you know web-service then be prepare for some REST concept related questions. 

Saturday, July 8, 2023

What are Idempotent and Safe methods of HTTP and REST [Interview Question]

If you are learning REST and want to understand the difference between the Idempotent and safe method then you have come to the right place. Earlier, I have shared the best books and courses to learn RESTful Web services and in this article, I will answer this popular REST Interview question. In order to efficiently work with REST and RESTful web service, good knowledge of HTTP is really helpful. Even though REST seems easy, designing a uniform and consistent RESTful API is a tough job. One of the tricky tasks is choosing right the HTTP method for the right job like when to use PUT vs POST. Once you know the meaning and purpose of different HTTP methods, it helps to choose the right method for the right job.

How to Create Restful Web Services in Java using Jersey [Hello World Example]

Along with Spring Boot, Apache CXF, and  Restlet, Jersey is another popular open-source framework to create RESTful web services in Java. Jersey conforms to JAX-RS specification and actually it is the reference implementation of JAX-RS (JSR 311)(http://jsr311.java.net/nonav/releases/1.1/index.html) specification. In the last article, we have seen the Restlet HelloWorld Example and today we'll see the Jersey HelloWorld Example. Typically, when a developer thinks of creating a RESTful web service using Java, they assume that using a Java EE application server is the only way to create this type of application.