RESTful Java Patterns and Best Practices

RESTful Java Patterns and Best Practices

4.0 1
by Bhakti Mehta
     
 

View All Available Formats & Editions

The confluences of social networking, cloud computing, and the era of mobile applications, has created a generation of emerging technologies that allow different networked devices to communicate with each other over the Internet with REST. It has the benefits of being stateless, easing scalability, visibility, and reliability as well as being platform and language

Overview

The confluences of social networking, cloud computing, and the era of mobile applications, has created a generation of emerging technologies that allow different networked devices to communicate with each other over the Internet with REST. It has the benefits of being stateless, easing scalability, visibility, and reliability as well as being platform and language agnostic. Thus, the widespread adoption of REST and JSON opens up the possibilities of applications incorporating and leveraging functionality from other applications as needed. Over time, the use of RESTful services has been increasing in order to get much more secure and robust applications.

This book is a practical, hands-on guide that provides you with clear and pragmatic information to take advantage of the real power of RESTful services and gives you a good foundation for using them in your applications. The book teaches you about a range of exciting capabilities with RESTful services and explores the infinite possibilities by using the diverse building blocks and tips covered throughout the various chapters. It starts with an overview of the fundamentals of REST—where it all began. Then, the book provides you with a quick introduction of URL design patterns, the request response paradigm, programming advanced security standards, and traceability in REST programming models. Furthermore, caching patterns, using asynchronous REST API to improve scalability, and advanced topics that every developer should know such as Response Paginating Patterns, Throttling Patterns, and so on will be explained. The book concludes with consolidating the various concepts learned and provides a quick walk-through of future emerging standards such as WebSockets, web hooks, and the role of REST.

By the end of the book, readers will be able to successfully use the concepts explained earlier to design and implement applications based on best practices for RESTful services.

Product Details

ISBN-13:
9781783287963
Publisher:
Packt Publishing
Publication date:
09/17/2014
Pages:
152
Product dimensions:
7.50(w) x 9.25(h) x 0.33(d)

Meet the Author

Bhakti Mehta is the author of Developing RESTful Services with JAX-RS2.0, WebSockets, and JSON, Packt Publishing. She has more than 13 years' experience in architecting, designing, and implementing software solutions on top of Java EE and other related technologies. She is passionate about open source software development and was one of the founding members of GlassFish Open Source Application Server.

Bhakti has a Bachelor's degree in Computer Engineering and a Master's degree in Computer Science. Her areas of research include architecting solutions for resiliency, scale, reliability, and performance with respect to server-side technologies, web services, and cloud applications.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

RESTful Java Patterns and Best Practices 4 out of 5 based on 0 ratings. 1 reviews.
Boudville More than 1 year ago
Remember the last 15 years or so, when SOAP and WSDL came of age? You could and indeed may have used them to make websites of considerable complexity. But that complexity was the rub. Sometimes hard to write and later maintain. After all, check out some texts from then, that had XML encoded queries. Extremely verbose and brittle. Sure, it was XML and you could read it, after a fashion. But awkward. This current book explains an alternative that is now very popular. The REST approach emphasises a true stateless interaction, where every client browser request has the full details. This frees up the server logic from having to maintain a record of information that might have been needed from earlier requests. Allowing for much easier coding on the server. Plus of course the possibility that the server now handle a greater load of such requests. Those of you mathematically inclined will see this as analogous to idempotent operators. The text is brief and in some ways this is due to the relative simplicity of the REST approach. Something you should appreciate above the lower level details on the pages. The description is quite complete. You also are guided into the other key feature of REST - using http verbs like GET, HEAD and PUT. The sheer clarity of this contrasts nicely with SOAP.