Book Image

Building RESTful Web Services with Spring 5 [Video]

By : Raja CSP Raman
Book Image

Building RESTful Web Services with Spring 5 [Video]

By: Raja CSP Raman

Overview of this book

<p><span id="description" class="sugar_field">REST is an architectural style that tackles the challenges of building scalable web services. In today's connected world, APIs have taken a central role on the web. APIs provide the fabric through which systems interact, and REST has become synonymous with APIs.</span></p> <p><span id="description" class="sugar_field">The depth, breadth, and ease of use of Spring makes it one of the most attractive frameworks in the Java ecosystem. Marrying the two technologies is, therefore, a very natural choice. This course takes you through the design of RESTful web services and leverages the Spring Framework to implement these services. </span></p> <p><span id="description" class="sugar_field">It also brings the power of the latest Spring 5.0 release, working with MVC built-in as well as the front end framework. It then goes beyond the use of Spring to explores approaches to tackle resilience, security, and scalability concerns. Finally, the course ends by taking you through building a Java client for your RESTful web service.</span></p> <p><span id="description" class="sugar_field">All the code and supporting files for this course are available on Github at <a style="font-weight: normal;" href="https://github.com/PacktPublishing/Building-RESTful-Web-Services-with-Spring-5" target="_new">https://github.com/PacktPublishing/Building-RESTful-Web-Services-with-Spring-5</a></span></p> <h2><span class="sugar_field">Style and Approach</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">This course uses a module-based approach, viewers will be taken through a set of specific patterns and tested practices to build effective RESTful systems in Java using the Spring framework.</span></span></p>
Table of Contents (6 chapters)
Chapter 4
CRUD Operations in Spring REST
Content Locked
Section 3
getUser – Operations and Implementation
Here, we will define and implement the getUser method in our repository. Also, we will call the getUser method in the main class through UserHandler. - Implement the getUser method in the handler and repository - Implement the createUser method in the handler and repository - Implement the updateUser method in the handler and repository - Implement the deleteUser method in the handler and repository