Book description
Learn how to develop REST-style and SOAP-based web services and clients with this quick and thorough introduction. This hands-on book delivers a clear, pragmatic approach to web services by providing an architectural overview, complete working code examples, and short yet precise instructions for compiling, deploying, and executing them. You’ll learn how to write services from scratch and integrate existing services into your Java applications.
With greater emphasis on REST-style services, this second edition covers HttpServlet, Restlet, and JAX-RS APIs; jQuery clients against REST-style services; and JAX-WS for SOAP-based services. Code samples include an Apache Ant script that compiles, packages, and deploys web services.
- Learn differences and similarities between REST-style and SOAP-based services
- Program and deliver RESTful web services, using Java APIs and implementations
- Explore RESTful web service clients written in Java, JavaScript, and Perl
- Write SOAP-based web services with an emphasis on the application level
- Examine the handler and transport levels in SOAP-based messaging
- Learn wire-level security in HTTP(S), users/roles security, and WS-Security
- Use a Java Application Server (JAS) as an alternative to a standalone web server
Table of contents
- Java Web Services: Up and Running
- Preface
- 1. Web Services Quickstart
- 2. RESTful Web Services: The Service Side
-
3. RESTful Web Services: The Client Side
- A Perl Client Against a Java RESTful Web Service
- A Client Against the Amazon E-Commerce Service
- A Standalone JAX-B Example
- Another Client Against the Amazon E-Commerce Service
- The CTA Bus-Tracker Services
- RESTful Clients and WADL Documents
- The JAX-RS Client API
- JSON for JavaScript Clients
- What’s Next?
- 4. SOAP-Based Web Services
- 5. SOAP Handlers and Faults
- 6. Web Services Security
- 7. Web Services and Java Application Servers
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Java Web Services: Up and Running, 2nd Edition
- Author(s):
- Release date: September 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449365110
You might also like
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Building Microservices, 2nd Edition
Distributed systems have become more fine-grained as organizations shift from code-heavy monolithic applications to smaller, self-contained …