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
Preface | p. ix |
Part I Introduction to Web Services | |
Chapter 1 Web Services Architecture | p. 3 |
Web Services--An Overview | p. 3 |
Service-Oriented Architecture | p. 4 |
Service-abstraction | p. 4 |
Service-encapsulation | p. 6 |
Service-modularity | p. 7 |
Service-polymorphism | p. 7 |
Service Roles | p. 8 |
Service provider | p. 9 |
Service broker | p. 10 |
Service requestor | p. 11 |
Technology Stack | p. 12 |
Architectural Processes | p. 15 |
Description | p. 17 |
Discovery | p. 18 |
Invocation | p. 20 |
Value Chain | p. 21 |
Standards body | p. 23 |
Framework providers | p. 24 |
Tool and product vendors | p. 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 |
Summary | p. 25 |
Part II Web Services Technology Stack | |
Chapter 2 XML | p. 29 |
An Introduction to XML | p. 29 |
XML Fundamentals | p. 30 |
Well-formed XML documents--the rules | p. 33 |
Components of an XML document | p. 37 |
XML Namespaces | p. 49 |
Summary | p. 53 |
Chapter 3 WSDL | p. 55 |
WSDL Beginnings | p. 55 |
Introduction to WSDL | p. 57 |
WSDL structure | p. 58 |
WSDL example | p. 59 |
Definitions of the Service-Abstraction | p. 61 |
WSDL syntax | p. 61 |
WSDL elements | p. 63 |
Binding styles | p. 74 |
MIME bindings | p. 80 |
Summary | p. 81 |
Chapter 4 SOAP | p. 83 |
Introduction to SOAP | p. 83 |
The design goals of SOAP | p. 85 |
Notational conventions | p. 85 |
SOAP example | p. 86 |
Message Exchange Model of SOAP | p. 87 |
SOAP Message | p. 89 |
SOAP envelope | p. 89 |
SOAP header | p. 90 |
SOAP body | p. 92 |
SOAP fault | p. 93 |
SOAP Attributes | p. 96 |
The soapenv:encodingStyle attribute | p. 96 |
The soapenv:mustUnderstand attribute | p. 97 |
The soapenv:actor attribute | p. 97 |
SOAP Encoding | p. 97 |
Simple types | p. 97 |
Polymorphic accessor | p. 98 |
Compound types | p. 99 |
SOAP Over HTTP | p. 100 |
HTTP request | p. 100 |
SOAPAction | p. 101 |
HTTP response | p. 101 |
SOAP-RPC | p. 103 |
SOAP Binding Example | p. 104 |
Processing of SOAP Message | p. 108 |
Implementing SOAP By Using the Apache SOAP Toolkit | p. 109 |
Summary | p. 118 |
Chapter 5 UDDI | p. 119 |
What Is UDDI? | p. 120 |
Why Is UDDI Important? | p. 123 |
The UDDI Technical Framework | p. 125 |
UDDI Data Structures | p. 126 |
Information about business | p. 126 |
Information about the service | p. 128 |
Information about the binding | p. 129 |
Information about the specification for services | p. 130 |
Publisher assertion | p. 131 |
UDDI Programmer's API | p. 133 |
Architecture and design | p. 133 |
API reference | p. 134 |
The inquiry API | p. 135 |
The publishing API | p. 138 |
UDDI Best Practices | p. 143 |
UDDI Workarounds | p. 144 |
Using WSDL with UDDI--An Example | p. 145 |
Summary | p. 148 |
Part III The Java Web Services Architecture | |
Chapter 6 Introduction to JavaServer Pages and Java Servlets | p. 151 |
An Overview of System Architecture | p. 151 |
The two-tier model | p. 152 |
The three-tier model | p. 153 |
The n-tier model | p. 154 |
What Are Servlets? | p. 155 |
Servlets and other alternative technologies | p. 156 |
Working of a servlet | p. 158 |
The javax.servlet package | p. 159 |
Life cycle of a servlet | p. 160 |
Deploying a servlet | p. 161 |
Creating, deploying, and testing a servlet | p. 162 |
Session Tracking | p. 171 |
Techniques to keep track of sessions in servlets | p. 171 |
The javax.servlet.http.Cookie class | p. 174 |
Overview of Java Server Pages | p. 175 |
JSP components | p. 177 |
Implementing JSP by using a JavaBean component | p. 180 |
JSP custom tags | p. 184 |
Summary | p. 188 |
Chapter 7 J2EE and Web Services | p. 189 |
Introduction to J2EE Architecture | p. 189 |
The J2EE Platform | p. 190 |
Web Components | p. 193 |
Servlets | p. 194 |
Java Server Pages | p. 204 |
J2EE and Web Services | p. 206 |
SunONE--an overview | p. 207 |
DART | p. 208 |
Summary | p. 208 |
Chapter 8 JAXP | p. 209 |
Introduction to JAXP | p. 210 |
The SAX API | p. 211 |
Setting up JWSDP | p. 213 |
The XML document | p. 214 |
Parse and display | p. 215 |
Content Handlers | p. 218 |
The DOM API | p. 223 |
Summary | p. 238 |
Chapter 9 JAXB | p. 239 |
Introduction to JAXB | p. 240 |
Document Type Definition (DTD) | p. 240 |
The binding schema | p. 242 |
Advantages of JAXB | p. 250 |
Limitations of JAXB | p. 251 |
Components of JAXB | p. 251 |
The JAXB Runtime Library | p. 252 |
Unmarshalling, Validation, and Marshalling | p. 260 |
Unmarshalling | p. 261 |
Validation | p. 261 |
Marshalling | p. 262 |
Working with JAXB | p. 263 |
Summary | p. 282 |
Chapter 10 JAXM | p. 283 |
Overview of JAXM | p. 283 |
Types of messaging | p. 286 |
Interoperability | p. 290 |
SOAP packaging | p. 290 |
J2EE Messaging | p. 292 |
JAXM Architecture | p. 293 |
JAXM clients | p. 293 |
JAXM Message Profiles | p. 294 |
JAXM Programming Model | p. 295 |
The javax.xml.messaging package | p. 296 |
The javax.xml.soap package | p. 298 |
JAXM Examples | p. 300 |
Summary | p. 313 |
Chapter 11 JAX-RPC | p. 315 |
An Overview of JAX-RPC | p. 316 |
Service endpoint definition | p. 317 |
Service implementation | p. 318 |
Service deployment | p. 318 |
Service invocation | p. 318 |
Service description | p. 319 |
JAX-RPC Mappings | p. 320 |
XML to Java mapping | p. 321 |
WSDL to Java mapping | p. 323 |
JAX-RPC Programming Model | p. 325 |
The client-programming model | p. 326 |
A simple echo example | p. 327 |
Summary | p. 342 |
Chapter 12 JAXR | p. 343 |
Overview of JAXR | p. 343 |
XML registries | p. 345 |
Capability profiles | p. 347 |
The JAXR Programming Model | p. 348 |
JAXR API | p. 350 |
Registry information model | p. 353 |
The ConnectionFactory and Connection objects | p. 356 |
The LifeCycleManager and BusinessLifeCycleManager interfaces | p. 358 |
The BusinessQueryManager and DeclarativeQueryManager interfaces | p. 363 |
JAXR Examples | p. 366 |
Summary | p. 373 |
Chapter 13 JSTL | p. 375 |
Overview of JSTL | p. 375 |
JSP custom tags | p. 376 |
Goals of JSTL | p. 379 |
Multiple TLDs | p. 380 |
Expression Language Support | p. 381 |
EL support tags | p. 383 |
EL flow control | p. 385 |
EL URL-related actions | p. 388 |
i18n Support | p. 391 |
i18n locale | p. 391 |
i18n message formatting | p. 391 |
i18n number and date formatting | p. 394 |
Database Support | p. 398 |
The [left angle bracket]sql:query[right angle bracket] tag | p. 399 |
The [left angle bracket]sql:update[right angle bracket] tag | p. 400 |
The [left angle bracket]sql:transaction[right angle bracket] tag | p. 400 |
The [left angle bracket]sql:driver[right angle bracket] tag | p. 402 |
The [left angle bracket]sql:param[right angle bracket] tag | p. 402 |
XML Support | p. 403 |
XML core tags | p. 403 |
XML flow control | p. 405 |
XML transformation support | p. 407 |
Summary | p. 409 |
Part IV Appendixes | |
Appendix A WSDL Basics | p. 413 |
Appendix B SOAP Fundamentals | p. 423 |
Appendix C Fundamentals of UDDI Version 2.0 Programmer's API | p. 431 |
Appendix D XML Primer | p. 453 |
Appendix E Java WSDP | p. 515 |
Index | p. 537 |