• Complain

Raja CSP Raman - Building RESTful Web Services with Spring 5

Here you can read online Raja CSP Raman - Building RESTful Web Services with Spring 5 full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2018, publisher: Packt Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover

Building RESTful Web Services with Spring 5: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Building RESTful Web Services with Spring 5" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Find out how to implement the REST architecture to build resilient software in Java with the help of the Spring 5.0 framework.

Key Features
  • Follow best practices and explore techniques such as clustering and caching to achieve a reactive, scalable web service.
  • Leverage the Spring Framework to quickly implement RESTful endpoints.
  • Learn to implement a client library for a RESTful web service using the Spring Framework along with the new front end framework.
Book Description

REST is an architectural style that tackles the challenges of building scalable web services. In todays 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.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 book takes you through the design of RESTful web services and leverages the Spring Framework to implement these services. Starting from the basics of the philosophy behind REST, youll go through the steps of designing and implementing an enterprise-grade RESTful web service. Taking a practical approach, each chapter provides code samples that you can apply to your own circumstances.This second edition brings forth 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. Improve performance of your applications with the new HTTP 2.0 standards. Youll learn techniques to deal with security in Spring and discover how to implement unit and integration test strategies.Finally, the book ends by walking you through building a Java client for your RESTful web service, along with some scaling techniques using the new Spring Reactive libraries.

What you will learn
  • Deep dive into the principles behind REST
  • Expose CRUD operations through RESTful endpoints with the Spring Framework
  • Devise response formats and error handling strategies, offering a consistent and flexible structure to simplify integration for service consumers
  • Follow the best approaches for dealing with a services evolution while maintaining backward compatibility
  • Understand techniques to secure web services
  • Comply with the best ways to test RESTful web services, including tips for load testing
  • Optimise and scale web services using techniques such as caching and clustering
Who this book is for

This book is intended for those who want to learn to build RESTful web services with the latest Spring 5.0 Framework. To make best use of the code samples included in the book, you should have a basic knowledge of the Java language. Previous experience with the Spring Framework would also help you get up and running quickly.

Table of Contents
  1. A Few Basics
  2. Building RESTful Web Services in Spring 5 with Maven
  3. Flux and Mono (Reactor Support) in Spring
  4. CRUD Operations in Spring REST
  5. CRUD Operations in Plain REST (Without Reactive) and File Upload
  6. Spring Security and JWT (JSON Web Token)
  7. Testing RESTful Web Services
  8. Performance
  9. AOP and Logger Controls
  10. Building a REST Client and Error Handling
  11. Scaling
  12. Microservice Basics
  13. Ticket Management Advanced CRUD

Raja CSP Raman: author's other books


Who wrote Building RESTful Web Services with Spring 5? Find out the surname, the name of the author of the book and a list of all author's works by series.

Building RESTful Web Services with Spring 5 — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Building RESTful Web Services with Spring 5" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Building RESTful Web Services with Spring 5 Second Edition Leverage the - photo 1
Building RESTful Web Services with Spring 5
Second Edition
Leverage the power of Spring 5.0, Java SE 9, and Spring Boot 2.0
Raja CSP Raman
Ludovic Dewailly

BIRMINGHAM - MUMBAI Building RESTful Web Services withSpring 5Second - photo 2

BIRMINGHAM - MUMBAI
Building RESTful Web Services withSpring 5Second Edition

Copyright 2018 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

Commissioning Editor: Aaron Lazar
Acquisition Editor: Chaitanya Nair
Content Development Editor: Zeeyan Pinheiro
Technical Editor: Romy Dias
Copy Editor: Safis Editing
Project Coordinator: Vaidehi Sawant
Proofreader: Safis Editing
Indexer: Rekha Nair
Graphics: Jason Monteiro
Production Coordinator: Shantanu Zagade

First published: October 2015
Second edition: January 2018

Production reference: 1230118

Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.

ISBN 978-1-78847-589-1

www.packtpub.com

To my parents, Raman and Gandhi, for their great support through my tough times and for nurturing me to be prepared for whatever challenges come my way. To my brother and sister for their wishes and guidance throughout my life.
Raja CSP Raman
maptio Mapt is an online digital library that gives you full access to over - photo 3
mapt.io

Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.

Why subscribe?
  • Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals

  • Improve your learning with Skill Plans built especially for you

  • Get a free eBook or video every month

  • Mapt is fully searchable

  • Copy and paste, print, and bookmark content

PacktPub.com

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at service@packtpub.com for more details.

At www.PacktPub.com , you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.

Contributors
About the authors

Raja CSP Raman has been a software developer for 13 years and is the founder of TalentAccurate, an IT skills validation tool that helps start-ups and small companies filter candidates without going through their resume. He also founded Pointopedia, a website that provides 15 lines of information on any topic, without any images or links. Raja likes photography and watching documentaries on history and science.

I'd like to thank my parents, brother, and sister, who guided and encouraged me to write this book.
Also, I'd like to thank my TCE (Thiagarajar College of Engineering) classmates who inspired me and helped me focus on my vision.
I especially thank Zeeyan, Romy, and other editors for their wonderful guidance throughout this book! Without them, I wouldn't have done it.

Ludovic Dewailly is a senior, hands-on software engineer and development manager with over 12 years of experience in designing and building software solutions on platforms ranging from resource-constrained mobile devices to cloud computing systems. He is currently helping FancyGiving (a social shopping, wishing, and gifting platform) with designing and building their system. Ludovic's interests lie in software architecture and tackling web scale challenges.

What this book covers

, A Few Basics, covers a basic understanding of REST, Reactive programming, and their basics, including the benefits of Reactive programming. It also covers Spring 5 basics with Reactive programming and an example RESTful web service as a base for other chapters.

, Building RESTful Web Services in Spring 5 with Maven, covers how to build a RESTful web service with Apache Maven by using either the Eclipse IDE or STS (Spring Tool Suite). The second section of the chapter covers creating a new project in Eclipse/STS and running our basic REST API.

, Flux and Mono (Reactor Support) in Spring, discusses Reactive programming and its benefits. This chapter also covers a little bit about Reactive Core and Reactive Streams. The second section of this chapter covers Flux and Mono in Spring REST, including a basic implementation of the GET and POST methods in Reactive.

, CRUD Operations in Spring REST, covers mapping CRUD operations to HTTP methods and implementation of CRUD operations on User with Reactor support.

, CRUD Operations in Plain REST (Without Reactive) and File Upload, covers mapping CRUD operations to HTTP methods and implementation of CRUD operations on User (Create, Read, Update, and Delete) without Reactor support. Also, this chapter covers file uploading in Spring.

, Spring Security and JWT (JSON Web Token), covers Spring Security, JWT (JSON Web Token), and JWT generation. The second section of this chapter covers getting details from the generated token and also restricting service calls by JWT security.

, Testing RESTful Web Services, talks about various testing strategies to test our existing RESTful web services, including JUnit and MockMvc-like unit test cases, and clients such as Postman, SoapUI, and jsoup web reader.

, Performance, discusses different performance-related topics, including HTTP compression, HTTP caching, and HTTP control. The second section of the chapter covers cache implementation and HTTP headers such as If-Modified-Since and ETag.

, AOP and Logger Controls, covers Spring AOP, including its theory, implementation, and logging controls.

, Building a REST Client and Error Handling, covers RestTemplate in Spring, the basic setup for building a RESTful service client with Spring, and calling the RESTful service from the client side. The second section of the chapter covers error handling, including defining an error handler and using it.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Building RESTful Web Services with Spring 5»

Look at similar books to Building RESTful Web Services with Spring 5. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Building RESTful Web Services with Spring 5»

Discussion, reviews of the book Building RESTful Web Services with Spring 5 and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.