Cover image for Java web services programming
Title:
Java web services programming
Personal Author:
Publication Information:
Indianapolis, Indiana : Wiley Publishing, 2002
ISBN:
9780764549526
Added Author:

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000004809012 QA76.73.J38 M63 2002 Open Access Book Book
Searching...

On Order

Summary

Summary

* A must have for any serious Java developer, this title enables readers to build web services for next-generation applications with Sun's new Web Services pack for Java 2.
* Web services are the future of web application development
* Web services are a crucial element in emerging platforms from Sun, Microsoft, IBM, HP and others
* Covers building web services with Sun's Web Services pack
* Leading software development tool vendors, including Borland Software Corp., Oracle Corp. and WebGain Inc., as well as Sun's ForteTM tools group, plan to integrate the Web Services Pack into their Java IDEs
* Written by Java developers at leading technology training company NIIT USA.


Author Notes

Rashim Mogha develops courses and works as a trainer, project manager, and instructional and technical reviewer at NIIT
V. V. Preetham is a consultant


Table of Contents

Prefacep. ix
Part I Introduction to Web Services
Chapter 1 Web Services Architecturep. 3
Web Services--An Overviewp. 3
Service-Oriented Architecturep. 4
Service-abstractionp. 4
Service-encapsulationp. 6
Service-modularityp. 7
Service-polymorphismp. 7
Service Rolesp. 8
Service providerp. 9
Service brokerp. 10
Service requestorp. 11
Technology Stackp. 12
Architectural Processesp. 15
Descriptionp. 17
Discoveryp. 18
Invocationp. 20
Value Chainp. 21
Standards bodyp. 23
Framework providersp. 24
Tool and product vendorsp. 24
Web Services Developers (WSD)p. 24
Web Services Marketers (WSM)p. 24
Web Services Providers (WSP)p. 24
Web Services Consumers (WSC)p. 25
Summaryp. 25
Part II Web Services Technology Stack
Chapter 2 XMLp. 29
An Introduction to XMLp. 29
XML Fundamentalsp. 30
Well-formed XML documents--the rulesp. 33
Components of an XML documentp. 37
XML Namespacesp. 49
Summaryp. 53
Chapter 3 WSDLp. 55
WSDL Beginningsp. 55
Introduction to WSDLp. 57
WSDL structurep. 58
WSDL examplep. 59
Definitions of the Service-Abstractionp. 61
WSDL syntaxp. 61
WSDL elementsp. 63
Binding stylesp. 74
MIME bindingsp. 80
Summaryp. 81
Chapter 4 SOAPp. 83
Introduction to SOAPp. 83
The design goals of SOAPp. 85
Notational conventionsp. 85
SOAP examplep. 86
Message Exchange Model of SOAPp. 87
SOAP Messagep. 89
SOAP envelopep. 89
SOAP headerp. 90
SOAP bodyp. 92
SOAP faultp. 93
SOAP Attributesp. 96
The soapenv:encodingStyle attributep. 96
The soapenv:mustUnderstand attributep. 97
The soapenv:actor attributep. 97
SOAP Encodingp. 97
Simple typesp. 97
Polymorphic accessorp. 98
Compound typesp. 99
SOAP Over HTTPp. 100
HTTP requestp. 100
SOAPActionp. 101
HTTP responsep. 101
SOAP-RPCp. 103
SOAP Binding Examplep. 104
Processing of SOAP Messagep. 108
Implementing SOAP By Using the Apache SOAP Toolkitp. 109
Summaryp. 118
Chapter 5 UDDIp. 119
What Is UDDI?p. 120
Why Is UDDI Important?p. 123
The UDDI Technical Frameworkp. 125
UDDI Data Structuresp. 126
Information about businessp. 126
Information about the servicep. 128
Information about the bindingp. 129
Information about the specification for servicesp. 130
Publisher assertionp. 131
UDDI Programmer's APIp. 133
Architecture and designp. 133
API referencep. 134
The inquiry APIp. 135
The publishing APIp. 138
UDDI Best Practicesp. 143
UDDI Workaroundsp. 144
Using WSDL with UDDI--An Examplep. 145
Summaryp. 148
Part III The Java Web Services Architecture
Chapter 6 Introduction to JavaServer Pages and Java Servletsp. 151
An Overview of System Architecturep. 151
The two-tier modelp. 152
The three-tier modelp. 153
The n-tier modelp. 154
What Are Servlets?p. 155
Servlets and other alternative technologiesp. 156
Working of a servletp. 158
The javax.servlet packagep. 159
Life cycle of a servletp. 160
Deploying a servletp. 161
Creating, deploying, and testing a servletp. 162
Session Trackingp. 171
Techniques to keep track of sessions in servletsp. 171
The javax.servlet.http.Cookie classp. 174
Overview of Java Server Pagesp. 175
JSP componentsp. 177
Implementing JSP by using a JavaBean componentp. 180
JSP custom tagsp. 184
Summaryp. 188
Chapter 7 J2EE and Web Servicesp. 189
Introduction to J2EE Architecturep. 189
The J2EE Platformp. 190
Web Componentsp. 193
Servletsp. 194
Java Server Pagesp. 204
J2EE and Web Servicesp. 206
SunONE--an overviewp. 207
DARTp. 208
Summaryp. 208
Chapter 8 JAXPp. 209
Introduction to JAXPp. 210
The SAX APIp. 211
Setting up JWSDPp. 213
The XML documentp. 214
Parse and displayp. 215
Content Handlersp. 218
The DOM APIp. 223
Summaryp. 238
Chapter 9 JAXBp. 239
Introduction to JAXBp. 240
Document Type Definition (DTD)p. 240
The binding schemap. 242
Advantages of JAXBp. 250
Limitations of JAXBp. 251
Components of JAXBp. 251
The JAXB Runtime Libraryp. 252
Unmarshalling, Validation, and Marshallingp. 260
Unmarshallingp. 261
Validationp. 261
Marshallingp. 262
Working with JAXBp. 263
Summaryp. 282
Chapter 10 JAXMp. 283
Overview of JAXMp. 283
Types of messagingp. 286
Interoperabilityp. 290
SOAP packagingp. 290
J2EE Messagingp. 292
JAXM Architecturep. 293
JAXM clientsp. 293
JAXM Message Profilesp. 294
JAXM Programming Modelp. 295
The javax.xml.messaging packagep. 296
The javax.xml.soap packagep. 298
JAXM Examplesp. 300
Summaryp. 313
Chapter 11 JAX-RPCp. 315
An Overview of JAX-RPCp. 316
Service endpoint definitionp. 317
Service implementationp. 318
Service deploymentp. 318
Service invocationp. 318
Service descriptionp. 319
JAX-RPC Mappingsp. 320
XML to Java mappingp. 321
WSDL to Java mappingp. 323
JAX-RPC Programming Modelp. 325
The client-programming modelp. 326
A simple echo examplep. 327
Summaryp. 342
Chapter 12 JAXRp. 343
Overview of JAXRp. 343
XML registriesp. 345
Capability profilesp. 347
The JAXR Programming Modelp. 348
JAXR APIp. 350
Registry information modelp. 353
The ConnectionFactory and Connection objectsp. 356
The LifeCycleManager and BusinessLifeCycleManager interfacesp. 358
The BusinessQueryManager and DeclarativeQueryManager interfacesp. 363
JAXR Examplesp. 366
Summaryp. 373
Chapter 13 JSTLp. 375
Overview of JSTLp. 375
JSP custom tagsp. 376
Goals of JSTLp. 379
Multiple TLDsp. 380
Expression Language Supportp. 381
EL support tagsp. 383
EL flow controlp. 385
EL URL-related actionsp. 388
i18n Supportp. 391
i18n localep. 391
i18n message formattingp. 391
i18n number and date formattingp. 394
Database Supportp. 398
The [left angle bracket]sql:query[right angle bracket] tagp. 399
The [left angle bracket]sql:update[right angle bracket] tagp. 400
The [left angle bracket]sql:transaction[right angle bracket] tagp. 400
The [left angle bracket]sql:driver[right angle bracket] tagp. 402
The [left angle bracket]sql:param[right angle bracket] tagp. 402
XML Supportp. 403
XML core tagsp. 403
XML flow controlp. 405
XML transformation supportp. 407
Summaryp. 409
Part IV Appendixes
Appendix A WSDL Basicsp. 413
Appendix B SOAP Fundamentalsp. 423
Appendix C Fundamentals of UDDI Version 2.0 Programmer's APIp. 431
Appendix D XML Primerp. 453
Appendix E Java WSDPp. 515
Indexp. 537