You need to create an application in the form:

  1. The application must be distributed across 3 separate servers.
  2. DBMS server: DBMS for hosting a database.
  3. Application Server 1: used to host the server part of the application represented by the Model based on ORM technology.
  4. Application Server 2: Used to host a client web application.

To implement the ORM technology of interaction between the DBMS and the server part, Hibernate was chosen. To implement the client application, Spring MVC was chosen. The server part should be implemented as a web service, and the REST approach was chosen for its implementation.

Question:

  • Is there some kind of separate Spring implementation for developing web services or even specifically REST web services? Interestingly reasoned opinion of experienced developers on the selected development tools.
  • one
    It will be very strange if in the spring there is nothing for the restful. - Sergey
  • @Sergey, is it possible to read more? - bsuart
  • one
    More only here except spring.io I don't work with spring myself. I just know that there is such and about what functions there, for every fireman. - Sergey
  • one
    @bsuart In the spring there is a lot to develop Rest - services. And most importantly their development does not represent any effort. It is enough to implement the corresponding layer of controllers in Spring MVC. On the Internet a lot of materials on this issue. Look, for example, this question with my answer - rvit34

1 answer 1

The simplest thing is to use Spring boot with the spring-boot-starter-web dependency. There rest is supported from the box: converting an object into json, processing HTTP requests. To start, the tutorial: https://spring.io/guides/tutorials/bookmarks/