I just announced the new Spring 5 modules in REST With Spring:


Building a REST API is not a trivial task – from the high level RESTful constraints down to the the nitty-gritty of making everything work and work well.

Spring has made REST a first class citizen back with the 3.0 release and the platform has been maturing in leaps and bounds since then. With the Spring 4.0 release, REST is now battle hardened and fully mature.

With this guide, my aim is to organize the mountains of information that are available on the subject and guide you through properly building an API.

The guide starts with the basics – bootstrapping the REST API, the Spring MVC Configuration, testing the live API.

It then dives into the more advanced areas of REST – HATEOAS and pagination, Error Handling and Security (Basic and Digest Authentication).

If Java is the Engine, then Spring is the Fuel

1. REST API Basics


2. REST API Advanced Topics


3. Test and Consume the API


Other Spring Tutorials

=> Building the Persistence Layer of an application with Spring and Hibernate, JPA, Spring Data, etc

=> Common Exceptions in Spring with examples – why they occur and how to solve them quickly

I just announced the new Spring 5 modules in REST With Spring:


newest oldest most voted
Notify of


there are 2 web services deployed on weblogic server, i want to call from A web services to B web services, how can we achieve this using spring , i tried to get the example, but only JMX can solve this one i got. Please guide me on this , its an urgent.

Eugen Paraschiv

If you simply need to call a service from within another, and you cannot do it internally – you can use the RestTemplate (or any other Http client) – and do the call manually.

Hi Eugen, Can’t find out how to contact you so I had to take my chance and post a question here. I started today with the first lesson of the full course(1-9) got som problems. 1. Let the student find how to contact you 🙂 It’s easy to get stuck. 2. Starting with setting up the projekt in Eclipse. The first you should say/comment is that you(the student) need to have a eclipse with the addon “Spring Boot Suite” and were to find it(marketplace) I lost 1h on finding that out. 3. The web.xml(and WEB-INF) is missing in the zip… Read more »
Eugen Paraschiv

Hey Thobias – I’m answering all of these notes over email now. Cheers,

Priya Dandekar

Nice tutorial. Thanks for putting it. Is there a tutorial about spring rest with security – focused specifically on authorization. Spring security is a good component, but how can I integrate it with the REST?

Eugen Paraschiv

Hey Priya,
That’s an interesting question. Yes, I’ve published several writeups in that area.
First, a quick note – unless you’re referring to OAuth2 and security tokens, authorization in Spring Security is a generic concern and isn’t necessarily specific to REST. Here’s a deep-dive into the expressions supported by the framework and here’s a quick intro just focusing on one of these expressions.
Hope that points you in the right direction.