
Java Web Services: Up and Running
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Copyright
- Table of Contents
- Preface
- What's Changed in the Second Edition?
- Web Service APIs and Publication Options
- The Publication Options
- Chapter-by-Chapter Overview
- Tools and IDEs
- Conventions Used in This Book
- Using Code Examples
- Safari® Books Online
- How to Contact Us
- Acknowledgments
- Chapter 1. Web Services Quickstart
- Web Service Miscellany
- What Good Are Web Services?
- Web Services and Service-Oriented Architecture
- A Very Short History of Web Services
- From DCE/RPC to XML-RPC
- Distributed Object Architecture: A Java Example
- Web Services to the Rescue
- What Is REST?
- Verbs and Opaque Nouns
- Review of HTTP Requests and Responses
- HTTP as an API
- Two HTTP Clients in Java
- A First RESTful Example
- How the Predictions Web Service Works
- A Client Against the Predictions Web Service
- Why Use Servlets for RESTful Web Services?
- What's Next?
- Chapter 2. RESTful Web Services: The Service Side
- A RESTful Service as an HttpServlet
- Implementation Details
- Sample Client Calls Against the predictions2 Service
- A RESTful Web Service as a JAX-RS Resource
- A First JAX-RS Web Service Using Jersey
- Publishing JAX-RS Resources with a Java Application
- Publishing JAX-RS Resources with Tomcat
- The Adage Class
- JAX-RS Generation of XML and JSON Responses
- Porting the Predictions Web Service to JAX-RS
- A RESTful Web Service as Restlet Resources
- Sample Calls Against the adages2 Service
- Publishing the adages2 Restlet Service Without a Web Server
- A RESTful Service as a @WebServiceProvider
- What's Next?
- Chapter 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
- The XStream Option
- 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
- JSONP and Web Services
- A Composed RESTful Service with jQuery
- An Ajax Polling Example
- What's Next?
- Chapter 4. SOAP-Based Web Services
- A SOAP-Based Web Service
- The RandService in Two Files
- Clients Against the RandService
- A Java Client Against the RandService
- A C# Client Against the RandService
- A Perl Client Against the RandService
- The WSDL Service Contract in Detail
- The types Section
- The message Section
- The portType Section
- The binding Section
- The service Section
- Java and XML Schema Data Type Bindings
- Wrapped and Unwrapped Document Style
- wsimport Artifacts for the Service Side
- SOAP-Based Clients Against Amazon's E-Commerce Service
- Asynchronous Clients Against SOAP-Based Services
- What's Next?
- Chapter 5. SOAP Handlers and Faults
- The Handler Level in SOAP-Based Services and Clients
- Handlers and Faults in the predictionsSOAP Service
- The Backend Support Classes
- From the Client to the Service
- Signature Verification
- Faults from the Application and Handler Levels
- Linking the Service-Side Handler to the Service
- A Handler Chain with Two Handlers
- SOAP-Based Web Services and Binary Data
- The Transport Level
- Axis2
- What's Next?
- Chapter 6. Web Services Security
- Wire-Level Security
- HTTPS Basics
- Symmetric and Asymmetric Encryption/Decryption
- How HTTPS Provides the Three Security Services
- The HTTPS Handshake
- The HttpsURLConnection Class
- A Very Lightweight HTTPS Server and Client
- HTTPS in a Production-Grade Web Server
- Enforcing HTTPS Access to a Web Service
- An HTTPS Client Against the predictions2 Service
- Container-Managed Security
- Linking the Service web.xml with a Tomcat Security Realm
- The Client Side in Users/Roles Security
- Using the curl Utility for HTTPS Testing
- A @WebService Under HTTPS with Users/Roles Security
- Using a Digested Password Instead of a Password
- WS-Security
- Securing a @WebService with WS-Security
- What's Next?
- Chapter 7. Web Services and Java Application Servers
- The Web Container
- The Message-Oriented Middleware
- The Enterprise Java Bean Container
- The Naming and Lookup Service
- The Security Provider
- The Client Container
- The Database System
- Toward a Lightweight JAS
- GlassFish Basics
- Servlet-Based Web Services Under GlassFish
- An Example with Mixed APIs
- An Interactive Website and a SOAP-Based Web Service
- A @WebService as a @Stateless Session EJB
- Packaging and Deploying the predictionsEJB Service
- A Client Against the predictionsEJB Service
- TomEE: Tomcat with Java EE Extensions
- Porting the predictionsEJB Web Service to TomEE
- Deploying an EJB in a WAR File
- Where Is the Best Place to Be in Java Web Services?
- Back to the Question at Hand
- Index
- About the Author
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.