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
Publisher resources
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: August 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449373870
You might also like
book
RESTful Java Web Services - Third Edition
Master core REST concepts and create RESTful web services in Java About This Book Build efficient …
video
Modern Java Web Applications with Spring Boot 2.x
Building web application has been a challenge for many Java developers because of the complexities of …
book
Beginning Quarkus Framework: Build Cloud-Native Enterprise Java Applications and Microservices
Harness the power of Quarkus, the supersonic subatomic cloud-native Java platform from Red Hat. This book …
book
Beginning Spring Boot 2: Applications and Microservices with the Spring Framework
Learn Spring Boot and how to build Java-based enterprise, web, and microservice applications with it. In …