did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781928994855

Developing Web Services With Java Apis for Xml Using Wsdp

by ; ; ;
  • ISBN13:

    9781928994855

  • ISBN10:

    1928994857

  • Format: Paperback
  • Copyright: 2002-06-01
  • Publisher: Elsevier Science Ltd
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $49.95
  • Digital
    $58.44
    Add to Cart

    DURATION
    PRICE

Supplemental Materials

What is included with this book?

Summary

Since Web Services are interdependent, developers must be well versed in all areas to capture their true power and flexibility. Developing Web Services with Java APIs for XML (JAX Pack) offers these developers exhaustive coverage of Sun's JAX Pack, a significant product release that will enable the development of Web services using Java. Written for experienced Java developers with a solid understanding of XML, the book features five parts covering each component of JAX Pack: JAXP, JAXR, JAXM, JAXB, and JAX-RPC.

Table of Contents

Forewordp. xxiii
Introduction to the JWSDPp. 1
Introductionp. 2
JWSDP Historyp. 3
JAXPp. 3
JAXMp. 4
JAX-RPCp. 5
JAXRp. 6
JSSEp. 6
JSTLp. 7
Ant and Tomcatp. 7
Summaryp. 9
Solutions Fast Trackp. 9
Frequently Asked Questionsp. 12
Processing XML Documents with SAXp. 13
Introductionp. 14
Understanding Event-Based XML Parsingp. 14
The SAX Event Modelp. 15
Overview of Event Processingp. 15
History of SAXp. 16
Basic SAX Eventsp. 17
Example Parse Eventsp. 18
Understanding Event Handlersp. 18
Overview of Handlersp. 18
Basic SAX Callbacksp. 19
Example Event Handlerp. 22
Creating a SAX Parserp. 26
SAX Interfaces and SAX Implementationsp. 26
JAXP and Underlying SAX Enginesp. 27
Introducing the JAXP packagep. 27
Using the SAXParserFactoryp. 27
Selecting a SAX parser with the plugability interfacep. 28
Parsing Data with a SAX Parserp. 31
Input Sourcesp. 31
InputSourcep. 31
An Example Servletp. 32
Servlets and Multithreadingp. 36
Configuring the Parserp. 38
Enabling Validationp. 39
Enabling Namespacesp. 39
Namespaces and Eventsp. 40
Enabling Other Featuresp. 41
Features and Propertiesp. 42
Setting Featuresp. 43
Setting Propertiesp. 43
Handling Advanced Eventsp. 44
ContentHandlerp. 44
ErrorHandlerp. 45
SAX2 Extensionsp. 47
LexicalHandlerp. 47
DeclHandlerp. 48
Summaryp. 49
Solutions Fast Trackp. 50
Frequently Asked Questionsp. 51
Processing XML Documents with DOMp. 53
Introductionp. 54
The Document Object Modelp. 54
The DOM Treep. 55
The Basic Classesp. 57
Documentp. 58
Elementp. 58
Textp. 58
Attributep. 59
Nodep. 59
NodeListp. 59
Interrelationshipsp. 60
Hierarchy imposed by the Document/Element/Attribute/Text classesp. 60
Relationship between Elements in a DOM hierarchyp. 61
JAXP and Underlying DOM Enginesp. 62
Creating a DOM Parserp. 65
The DocumentBuilderFactory classp. 66
Obtaining a new instance of the DocumentBuilderFactoryp. 66
Using the DocumentBuilderFactory to create a DocumentBuilderp. 66
Setting parser attributesp. 67
Creating a coalescing, validating, namespace aware DOM parserp. 69
Parsing XML into a DOMp. 73
Input source typesp. 73
InputSourcep. 74
File-based sourcep. 74
InputStream-based sourcesp. 74
Stringp. 75
EntityResolversp. 75
Manipulating DOM Objectsp. 77
Walking a DOM Constellationp. 77
Obtaining the document rootp. 80
Walking the hierarchyp. 80
A servlet to write out name/value pairs from example schemap. 82
Finding lists of nodesp. 89
Servlet to write out all node names that contain a specific valuep. 94
Changing the contents of a nodep. 96
AdditionInXML Servlet to modify nodes in the DOM treep. 104
Advanced Topicsp. 108
Multi-threaded applicationsp. 109
Safe routinesp. 109
Unsafe routinesp. 115
Parser Attributesp. 115
Selecting a DOM Parser with the Plugability Interfacep. 117
DOM Parser search pathp. 117
Error Handlingp. 118
Summaryp. 120
Solutions Fast Trackp. 120
Frequently Asked Questionsp. 121
XML Transformationsp. 123
Introductionp. 124
Reviewing XSL and XSLTp. 124
XPath and XSLTp. 128
Axes and Locationsp. 129
Procedural XSLTp. 130
[left angle bracket]xsl:template[right angle bracket]p. 130
[left angle bracket]xsl:apply-template[right angle bracket]p. 131
[left angle bracket]xsl:for-each[right angle bracket]p. 132
[left angle bracket]xsl:if[right angle bracket]p. 134
[left angle bracket]xsl:choose[right angle bracket], [left angle bracket]xsl:when[right angle bracket], [left angle bracket]xsl:otherwise[right angle bracket]p. 137
[left angle bracket]xsl:sort[right angle bracket]p. 138
[left angle bracket]xsl:value-of[right angle bracket]p. 138
[left angle bracket]xsl:output[right angle bracket]p. 138
JAX-P and Underlying XSL Enginesp. 139
Using JAX-P Classesp. 140
Creating a Transformerp. 140
Source and Resultp. 144
Transformerp. 145
Templatesp. 149
Miscellaneous JAX-P for XSL Issuesp. 152
Error Handlingp. 152
ErrorListenerp. 152
SourceLocatorp. 153
URIR esolverp. 153
Thread Safetyp. 154
Plugabilityp. 155
Summaryp. 156
Solutions Fast Trackp. 156
Frequently Asked Questionsp. 158
Using JSTL (JSP Standard Tag Library)p. 159
Introductionp. 160
Expression Languagesp. 160
Why Expression Languages?p. 161
Supported Expression Languagesp. 161
Simplest Possible Expression Language (SPEL)p. 161
ECMAScriptp. 163
JXPathp. 164
Selecting an Expression Languagep. 164
Application-Widep. 164
Code Section Explicitp. 165
Expression Languages and Tag Library Selectionp. 166
Future Compatibility with Expression Languagesp. 166
Core Tagsp. 167
Expression Languagep. 167
c:outp. 169
c:setp. 170
Iterationsp. 171
c:forEachp. 171
c:forTokensp. 172
Conditional Expressionsp. 173
c:ifp. 173
c:choosep. 173
c:whenp. 173
c:otherwisep. 174
Importing External Resourcesp. 174
c:importp. 174
:paramp. 175
URL Manipulationp. 175
c:urlEncodep. 175
c:redirectp. 176
SQL Query Tagsp. 176
Setting up a driverp. 176
sql:driverp. 177
Executing queriesp. 177
sql:queryp. 177
sql:paramp. 177
Executing updatesp. 179
sql:updatep. 179
Denoting transactional boundariesp. 180
sql:transactionp. 180
Internationalization Tagsp. 182
Defining the Localep. 183
Browser Specifiedp. 183
JSP Specifiedp. 184
Defining the Timezonep. 184
fmt:timeZonep. 184
Specifying a Resource Bundlep. 185
fmt:bundlep. 186
Locating the resource bundlep. 186
Using Internationalized Messagesp. 187
Obtaining Simple Internationalized Messagesp. 187
Performing Parameter Substitutionp. 188
Exception Localizationp. 190
Parsing and formattingp. 192
fmt:formatNumberp. 192
fmt:parseNumberp. 194
fmt:formatDatep. 194
fmt:parseDatep. 195
XML Support Tagsp. 195
Parsing and searchingp. 195
x:parsep. 195
x:outp. 196
x:setp. 196
Iterationp. 196
x:forEachp. 196
Flow Controlp. 197
x:ifp. 197
x:choosep. 197
x:whenp. 197
x:otherwisep. 197
Translation and XSLTp. 198
Summaryp. 199
Solutions Fast Trackp. 199
Frequently Asked Questionsp. 201
Writing SOAP Clientsp. 203
Introductionp. 204
Understanding SOAPp. 204
Envelopesp. 205
Headersp. 206
Bodiesp. 207
Attachmentsp. 208
SOAPElement and JAXM DOMp. 209
SOAPElementp. 209
Attributesp. 210
Child Elementsp. 210
Text Nodesp. 212
Namep. 213
Textp. 214
JAXM SOAP Elementsp. 214
SOAPMessagep. 214
MIME encodingp. 215
SOAPPartp. 217
SOAPEnvelopep. 219
SOAPHeader & SOAPHeaderElementp. 220
SOAPBody, SOAPBodyElement and SOAPFaultp. 222
Creating a SOAP Messagep. 223
MessageFactoryp. 224
Creating SOAP Parts, Envelopes, Headers and Bodiesp. 226
Adding Attachments to Messagesp. 228
Bringing it all Together--A Complete SOAP Clientp. 230
Connecting to a SOAP servicep. 230
Summaryp. 248
Solutions Fast Trackp. 248
Frequently Asked Questionsp. 250
Writing SOAP Serversp. 253
Introductionp. 254
Message Routingp. 254
Asynchronous messagesp. 255
One-Way Messagesp. 256
Delayed Response Messagesp. 257
State in Asynchronous Serversp. 258
Message Routingp. 259
Incoming Message Routingp. 260
Outgoing Message Routingp. 262
Establishing a Connection to a JAXM Providerp. 263
ProviderConnectionsp. 266
Using the ProviderConnection to Create a Messagep. 267
Using ProviderConnection to Send a Messagep. 267
Profilesp. 269
Writing a SOAP Server Servletp. 270
JAXMServletp. 271
Required Overridesp. 273
Handling Messagesp. 274
Writing a SOAP EJBp. 275
Overriding MessageDrivenBean and OnewayListenerp. 277
Example SOAP Servletp. 277
Receiving and Processing SOAP Messagesp. 278
Summaryp. 300
Solutions Fast Trackp. 300
Frequently Asked Questionsp. 302
Using XML-based RPCp. 303
Introductionp. 304
JAX-RPC Summaryp. 304
Understanding Stubs and Tiesp. 305
Sending a XML-RPC Messagep. 306
Mapping Java Data Typesp. 307
Supported Java data typesp. 307
Data Type to XML/WSDL Definition Tablesp. 308
Primitivesp. 308
Object Typesp. 308
Arraysp. 309
Application Classesp. 310
Arbitrary Java Classesp. 311
Serializersp. 311
Deserializersp. 312
Holder Classesp. 312
Conversion Between Java Classes and WSDLp. 313
WSDL Generatorp. 313
Command Line Optionsp. 313
Tool Configuration Filep. 314
Server Configuration Filep. 316
Using Classes Generated by the Stub Generatorp. 317
Creating a JAX-RPC Clientp. 317
Creating a connection to a remote serverp. 318
Invoking methods on a remote serverp. 318
Creating a JAX-RPC Serverp. 319
Creating the Service Definition Interfacep. 319
Creating the xrpcc Config Filep. 319
Developing the Service Implementationp. 320
Building the Server WAR Filep. 320
Creating a Simple XML-RPC Server and Clientp. 321
Summaryp. 328
Solutions Fast Trackp. 329
Frequently Asked Questionsp. 331
Locating Web Servicesp. 333
Introductionp. 334
Registriesp. 334
Storage of Metadata about Servicesp. 334
Categoriesp. 335
Locationsp. 336
Major Registry Standardsp. 336
UDDIp. 337
ebXMLp. 339
Categorizing Web Servicesp. 342
Category Hierarchiesp. 342
Example Hierarchiesp. 343
Organization, Userp. 343
Connecting to a Registryp. 344
Using the Default Registryp. 347
Adding an Organizationp. 348
Querying the Registryp. 351
Querying the Registryp. 353
Finding a Service Using a Simple Queryp. 353
Finding a Service Using a Complex Queryp. 357
Understanding the Query Resultsp. 363
Metadata Returnedp. 363
External Datap. 364
WSDL Documentsp. 364
Structure of a WSDL Documentp. 365
Example WSDL Documentp. 368
The [left angle bracket]definitions[right angle bracket] Elementp. 370
The [left angle bracket]message[right angle bracket] Elementp. 370
The [left angle bracket]portType[right angle bracket] Elementp. 371
The [left angle bracket]binding[right angle bracket] Elementp. 371
The [left angle bracket]service[right angle bracket] Elementp. 372
Storing Information in a Registryp. 372
Adding New Registry Recordsp. 372
Updating Recordsp. 381
Deprecating and Deleting Existing Recordsp. 386
Security Requirementsp. 393
Summaryp. 395
Solutions Fast Trackp. 395
Frequently Asked Questionsp. 398
Java Secure Sockets Layerp. 401
Introductionp. 402
Configuring JSSEp. 402
Download JSSE and Extract the Filesp. 403
Install the .jar Filesp. 403
Register the SunJSSE Providerp. 403
Configure The URL Handlerp. 404
Install a JSSE-Specific cacerts file (Optional Configuration Step)p. 405
Introduction to Keys and Certificatesp. 405
Using keytool to Create a Keystorep. 407
Creating a keystorep. 408
Using keytool to Create/install a Certificatep. 409
Importing a Certificatep. 409
Generating a self-signed Certificatep. 410
Importing a Certificate From an Identity Databasep. 411
Referring to keystores with JSSE propertiesp. 411
The KeyStore Classp. 412
The Certificate Classp. 413
Using JSSE Properties to Refer to the keystorep. 414
Using HTTPS URL Handlersp. 416
Configuring URL Handler for JSSEp. 416
Creating a HTTPS Connectionp. 418
Using the URL Handlerp. 418
Using SocketFactoriesp. 420
Creating Sockets and ServerSockets (by hand)p. 420
The ServerSocket Classp. 420
The Socket Classp. 421
Using SocketFactories and ServerSocketFactoriesp. 421
The SocketFactory Classp. 421
The ServerSocketFactory Classp. 422
Advantages of SocketFactoriesp. 422
Determining Default and Installed Cipher Suitesp. 422
Determining the Installed Cipher Suitesp. 423
Using Secure Server Socketsp. 424
Getting the Secure Socket Factoryp. 425
Registering a Secure Server Socketp. 426
Accepting Connectionsp. 426
Reading Datap. 426
Writing Datap. 427
Closing Connectionsp. 427
Using Secure Client Socketsp. 429
Connecting to a Remote Secure Serverp. 430
Writing Datap. 430
Reading Datap. 431
Closing the Connectionp. 431
Using JSSE Applications with WSDPp. 437
Using the URLHandler in a Web Servicep. 440
Client-Server Web Servicep. 443
Summaryp. 448
Solutions Fast Trackp. 448
Frequently Asked Questionsp. 450
Using JWSDP Toolsp. 453
Introductionp. 454
JWSDP UDDI Registryp. 454
Installingp. 455
Microsoft Windows Installation Instructionsp. 455
Unix, Linux Installation Instructionsp. 455
Configuringp. 460
Activatingp. 460
Limitationsp. 461
Selecting as the Registryp. 462
Organizationp. 464
Primary Contact Informationp. 464
Classificationsp. 465
Tomcatp. 467
Installingp. 467
Windowsp. 467
Linuxp. 467
Environmental Variablesp. 468
Configuringp. 468
Server.xmlp. 468
The webapps Directory and WAR filesp. 469
Activatingp. 471
Starting Tomcat under Windows NT Manuallyp. 471
Starting Tomcat under Windows NT as a Servicep. 471
Starting Tomcat under Linux Manuallyp. 471
Starting Tomcat under Linux at Startup Timep. 472
Relationship to Apache Serversp. 472
Acting Standalonep. 472
Proxied behind Apache Serversp. 472
Antp. 472
Structure of an Ant Input Filep. 472
Projectsp. 473
Targetsp. 473
Tasksp. 474
Invoking ANTp. 475
Invoking from the Command Linep. 475
Integrating with IDEsp. 476
An Ant Examplep. 476
Summaryp. 479
Solutions Fast Trackp. 479
Frequently Asked Questionsp. 481
Table of Contents provided by Syndetics. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program