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 6
Building a REST Client and Spring Security
Content Locked
Section 2
Spring Security
We will acquire a simple understanding of Spring Security and we will also talk about JSON Web Token (JWT) and how to use JWTs in our web service calls. This will also include JWT creation. - Create JWT token - Generate a token - Get subject from a JWT token