Free Downloads
Building A RESTful Web Service With Spring

A hands-on guide to building an enterprise-grade, scalable RESTful web service using the Spring FrameworkAbout This BookFollow best practices and explore techniques such as clustering and caching to achieve a scalable web serviceLeverage the Spring Framework to quickly implement RESTful endpointsLearn to implement a client library for a RESTful web service using the Spring FrameworkWho This Book Is ForThis book is intended for those who want to learn to build RESTful web services with the Spring 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.What You Will LearnDeep dive into the principles behind RESTExpose CRUD operations through RESTful endpoints with the Spring FrameworkDevise response formats and error handling strategies, offering a consistent and flexible structure to simplify integration for service consumersFollow the best approaches for dealing with a service's evolution while maintaining backward compatibilityUnderstand techniques to secure web servicesComply with the best ways to test RESTful web services, including tips for load testingOptimise and scale web services using techniques such as caching and clusteringIn DetailREST 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.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, you'll 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 book goes beyond the use of Spring and explores approaches to tackle resilience, security, and scalability concerns. You'll 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 for it.Style and approachThis book is a step-by-step, hands-on guide to designing and building RESTful web services. The book follows the natural cycle of developing these services and includes multiple code samples to help you.

File Size: 1426 KB

Print Length: 128 pages

Publisher: Packt Publishing; 1 edition (October 14, 2015)

Publication Date: October 14, 2015

Sold by:  Digital Services LLC

Language: English

ASIN: B0148S9GV8

Text-to-Speech: Enabled

X-Ray: Not Enabled

Word Wise: Not Enabled

Lending: Not Enabled

Enhanced Typesetting: Enabled

Best Sellers Rank: #324,814 Paid in Kindle Store (See Top 100 Paid in Kindle Store) #109 in Books > Computers & Technology > Web Development & Design > Web Services #161 in Kindle Store > Kindle eBooks > Computers & Technology > Programming > Java #478 in Kindle Store > Kindle eBooks > Computers & Technology > Networking > Networks, Protocols & API's

The book is a nice way if you are a little bit rusty with your enterprise skills and like to refresh those. If you are new to the topic the samples and explantations are a little bit too short and you have to figure out some stuff on your own.

This is a very information dense book. I was prepared to be disappointed when it arrived because it was so thin. I was instead very pleased. The book is a walkthrough of a little RESTful web services application automating a hotel booking agency. The code examples downloadable from PACKT Published have all worked without any bugs and I have found only one insignificant typo in the book. Highly recommend.

Good book overall. Worth the money for the most part. Explanations need to be more thorough though, found some gaps which I hadto fill in myself so I had to take off one star. Had to do some research to get the examples to work when using other databaseslike Oracle.

This is an excellent introduction to building web services with the Spring framework. I have built web services before but not with Spring so this was a easy way to get introduced to all of its facets. The book walks the reader through the thought process of building a web service and sample code is a nice compliment. The chapters on performance and security stand out as these are what most developers leave out completely or don't think of until the end of the development cycle.The sample code is well written and helps the reader to gain some real world knowledge on how to approach creating web services. This is a introductory book so it will give you the full foundations. It also has a section on scaling web services along with complimentary technologies like Redis and Hazelcast which helps to introduce the reader to thinking more about the architecture and infrastructure rather than focusing just on the application.An excellent book all round.

Overall the book strikes a great balance in both it’s length and content. The problem with many tutorials/books is that they either give you so little information that in real “enterprise” situations you are completely lost or the information provided is so in depth you both can’t understand and lose interest.Topics covered are diverse and each is gently introduced and implemented in the demo hotel property management system.Testing, performance, build tools, security, scaling and client applications are all covered. This will not leave you an expert in all these areas but gives a great overview and I have found myself coming back to the book as a reference.

Code download from packt website seems not to be working for Chpt 5. Otherwise, very good description of Spring and Restful concepts.

Building a RESTful Web Service with Spring Vegan Mastery Cookbook: Simple Vietnamese Spring Roll Recipes to Cook at Home (International Vegan Cookbook Series, Vegan Spring Rolls, Vietnamese Spring ... Vegan Recipes, How to Make Spring Rolls) Web Development with Go: Building Scalable Web Apps and RESTful Services Service Design Patterns: Fundamental Design Solutions for SOAP/WSDL and RESTful Web Services Next Generation SOA: A Concise Introduction to Service Technology & Service-Orientation (The Prentice Hall Service Technology Series from Thomas Erl) RESTful Web Services Cookbook: Solutions for Improving Scalability and Simplicity Building Scalable Web Sites: Building, Scaling, and Optimizing the Next Generation of Web Applications Vegan Spring Rolls & Summer Rolls: 50 Delicious Vegan Spring Roll Recipes and Summer Roll Recipes (Veganized Recipes Book 10) Spring Roll Recipes: Scrumptious Spring Roll Recipes for Breakfast, Lunch, Dinner and More (The Easy Recipe) Fall Bulbs For Spring Flowers: Tulips, Daffodils, Amaryllis & 14 Other Bulbs To Plant For A Blooming Spring Garden... Garden Book The Fires of Spring: A Post-Arab Spring Journey Through the Turbulent New Middle East - Turkey, Iraq, Qatar, Jordan, Egypt, and Tunisia The Witches' Almanac, Issue 35 Spring 2016 - Spring 2017: Air: The Breath of Life ASP.NET Web API 2: Building a REST Service from Start to Finish Python: Learn Web Scraping with Python In A DAY! - The Ultimate Crash Course to Learning the Basics of Web Scraping with Python In No Time (Web Scraping ... Python Books, Python for Beginners) RESTful API Design: Best Practices in API Design with REST (API-University Series Book 3) Restful Sleep: The Complete Mind-Body Program for Overcoming Insomnia Guided Meditation for Restful Sleep Color Me To Sleep: Nearly 100 Coloring Templates to Promote Relaxation and Restful Sleep (A Zen Coloring Book) SOA with Java: Realizing Service-Orientation with Java Technologies (The Prentice Hall Service Technology Series from Thomas Erl) Training Your Own Service Dog Book 2: Training Psychiatric Service Dogs - PTSD, Anxiety Disorders, and Depression