Book description
Java Web Services in a Nutshell is a high-speed tutorial and a quick reference for the technologies that Sun Microsystems is creating for implementing web services with Java. This book is a succinct introduction and handy reference to the Java/XML APIs, more commonly known as the JWSDP or "Java Web Services Development Pack." These APIs are taking the Java world by storm, as they are capable of handling everything from simple XML to SOAP to full ebXML vocabularies. Although "web services" technology has suffered from much hype and overly grand expectations, there is plenty of solid development going on, especially in extending enterprise applications, and a huge amount of this development is being done in Java. As a result, the J2EE APIs for web services are evolving rapidly, and this new "in a Nutshell" book covers them all in depth. One of the most important APIs in the JWSDP is JAX-RPC (Java API for XML-based RPC). It's also the API that developers most consistently post questions about. Java Web Services in a Nutshell covers all aspects of JAX-RPC in detail, with tutorial coverage alone exceeding 150 pages. This book offers developers everything they need to program with JAX-RPC. Java Web Services in a Nutshell begins with an introduction to Java web services, including a discussion of how they differ from web applications. The author looks at the protocols and interfaces that underpin web services, the J2EE technologies that address web services, WSDL as the means for describe web services, and more. Subsequent chapters cover:
JAX-RPC
SOAP and the SOAP with Attachments API for Java (SAAJ)
Reliable SOAP messaging with JAXM
WSDL
Advanced JAX-RPC
JAXR, the XML-based registry API
Web Services Tools
The balance of the book is made up of an API Quick Reference containing documentation for the various API packages. Intended for Java developers who need to implement Java services or who need their applications to access existing web services, Java Web Services in a Nutshell delivers practical information to help developers make sense of the rapidly changing and poorly organized official documentation. If web services and Enterprise Java are any part of your job description -- of if you'd like them to be -- you'll want this book close beside as you work.
Table of contents
-
Java Web Services in a Nutshell
- Preface
-
I. Introduction to the Java Web Services API
- 1. Introduction
-
2. JAX-RPC
- JAX-RPC Overview
-
Programming with JAX-RPC
- The JAX-RPC Service Interface
- Converting the Service Interface Definition to Client-Side Stubs
- The Client-Side JAX-RPC API
- The Server-Side Implementation
- Deployment of a JAX-RPC Service in a Web Container
- Deploying a JAX-RPC Service onto the J2EE 1.4 Platform
- Deploying a JAX-RPC Service with the JWSDP
- Using EJBs to Implement Web Services
-
3. SAAJ
- Introduction to SAAJ
- SAAJ Programming
- SOAP Messages
- SOAP Fault Handling
- SOAP Messages and MIME Headers
- SOAP with Attachments
- SOAP Headers
- Using SAAJ with Secure Connections
-
4. JAXM
- JAXM Overview
- Providers and Asynchronous Messaging
- An Example JAXM Application
- JAXM Configuration
- The SOAP-RP Profile
- The ebXML Profile
- 5. WSDL
-
6. Advanced JAX-RPC
- Using WSDL with JAX-RPC
- ServiceFactory and the Service Interface
- The Dynamic Invocation Interface
- JAX-RPC and J2EE 1.4 Application Clients
- Using Attachments
- RPC-Style and Document-Style JAX-RPC
- Client and Server Context Handling
- SOAP Header Processing
- Serialization and Type Mappings
-
7. JAXR
- UDDI and ebXML Registries
- JAXR Architecture
- Using the JAXR Examples
- JAXR Registry Model Overview
- JAXR Programming
-
8. Web Service Tools and Configuration Files
- wscompile — JAX-RPC Stub and Tie Generation Utility
- wsdeploy — JAX-RPC Deployable Web Archive Generation Utility
- J2EEC — Utility for Creating Stubs and Ties for a JAX-RPC Web Service
- J2EE Deploytool — Utility for Deploying Modules and Enterprise Applications
- JAXM Client and Provider Configuration
- J2EE 1.4 Web Services Configuration File
- J2EE 1.4 JAX-RPC Mapping File
-
II. API Quick Reference
- 9. The javax.xml.messaging Package
- 10. The javax.xml.namespace Package
-
11. The javax.xml.registry Package
- Package javax.xml.registry
- BulkResponse
- BusinessLifeCycleManager
- BusinessQueryManager
- CapabilityProfile
- Connection
- ConnectionFactory
- DeclarativeQueryManager
- DeleteException
- FederatedConnection
- FindException
- FindQualifier
- InvalidRequestException
- JAXRException
- JAXRResponse
- LifeCycleManager
- Query
- QueryManager
- RegistryException
- RegistryService
- SaveException
- UnexpectedObjectException
- UnsupportedCapabilityException
-
12. The javax.xml.registry.infomodel Package
- Package javax.xml.registry.infomodel
- Association
- AuditableEvent
- Classification
- ClassificationScheme
- Concept
- EmailAddress
- ExtensibleObject
- ExternalIdentifier
- ExternalLink
- ExtrinsicObject
- InternationalString
- Key
- LocalizedString
- Organization
- PersonName
- PostalAddress
- RegistryEntry
- RegistryObject
- RegistryPackage
- Service
- ServiceBinding
- Slot
- SpecificationLink
- TelephoneNumber
- URIValidator
- User
- Versionable
- 13. The javax.xml.rpc Package
- 14. The javax.xml.rpc.encoding Package
- 15. The javax.xml.rpc.handler Package
- 16. The javax.xml.rpc.handler.soap Package
-
17. The javax.xml.rpc.holders Package
- Package javax.xml.rpc.holders
- BigDecimalHolder
- BigIntegerHolder
- BooleanHolder
- BooleanWrapperHolder
- ByteArrayHolder
- ByteHolder
- ByteWrapperHolder
- CalendarHolder
- DoubleHolder
- DoubleWrapperHolder
- FloatHolder
- FloatWrapperHolder
- Holder
- IntegerWrapperHolder
- IntHolder
- LongHolder
- LongWrapperHolder
- ObjectHolder
- QNameHolder
- ShortHolder
- ShortWrapperHolder
- StringHolder
- 18. The javax.xml.rpc.server Package
- 19. The javax.xml.rpc.soap Package
-
20. The javax.xml.soap Package
- Package javax.xml.soap
- AttachmentPart
- Detail
- DetailEntry
- MessageFactory
- MimeHeader
- MimeHeaders
- Name
- Node
- SOAPBody
- SOAPBodyElement
- SOAPConnection
- SOAPConnectionFactory
- SOAPConstants
- SOAPElement
- SOAPElementFactory
- SOAPEnvelope
- SOAPException
- SOAPFactory
- SOAPFault
- SOAPFaultElement
- SOAPHeader
- SOAPHeaderElement
- SOAPMessage
- SOAPPart
- Text
- 21. Class, Method, and Field Index
- III. Appendix
- Index
- Colophon
Product information
- Title: Java Web Services in a Nutshell
- Author(s):
- Release date: June 2003
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596003999
You might also like
book
Java Web Services: Up and Running
This example-driven book offers a thorough introduction to Java's APIs for XML Web Services (JAX-WS) and …
book
Java Web Services: Up and Running, 2nd Edition
Learn how to develop REST-style and SOAP-based web services and clients with this quick and thorough …
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 …