search for books and compare prices
Tables of Contents for Professional Java Soap Programming
Chapter/Section Title
Page #
Page Count
Introduction
1
2
Prerequisites of this Book
3
1
Organization of this Book
3
1
Conventions
4
1
Customer Support
4
5
How to Download the Sample Code for the Book
4
1
Errata
5
1
E-mail Support
5
1
p2p.wrox.com
6
3
Distributed Application Protocols
9
12
Documents and Procedures
10
1
Corba
10
2
COM/DCOM
12
1
RMI
13
1
XML-RPC
14
2
Soap
16
1
Web Services
17
1
ebXML
18
1
Summary
18
3
SOAP
21
42
Core Technologies
22
17
HTTP
22
4
XML
26
3
XML Namespaces
29
3
XML Schema
32
7
Soap
39
2
HTTP Bindings
41
5
SOAPAction HTTP Header
42
2
HTTP Response
44
1
The HTTP Extension Framework
44
2
Soap Envelope
46
1
Envelope Versioning Model
47
1
Soap Header
47
1
Soap Body
48
1
Soap Fault
49
3
Encoding
52
5
Basic Encoding Rules
52
2
Multi-References
54
2
Enumerations
56
1
Default Values
56
1
Messaging
57
2
Where Are the Objects?
59
1
Summary
60
3
Setting Up Your SOAP Server
63
44
Pieces of the Puzzle
64
1
Downloads
65
16
Tomcat
66
1
Download
66
4
Testing Tomcat
70
2
Apache SOAP
72
1
Download
72
3
Xerces
75
1
JavaMail
75
1
JavaBean Activation Framework
76
1
Setup
77
1
SOAP Configuration
78
1
Testing Apache SOAP
78
3
Our First SOAP Service
81
18
The Service Class
81
1
Deployment Descriptor
82
1
Interactive Registration
82
3
Programmatic Registration
85
4
The HelloWorld Web Application
89
1
The HelloWorld Client
90
2
Building the HelloWorld Sample
92
3
Running the HelloWorld Sample
95
2
Testing and Debugging
97
1
The tcpTrace Utility
97
2
Troubleshooting
99
3
Server Down
99
1
Bad URL
100
1
Classpath Issues
100
1
xerces.jar
101
1
Serialization Issues
101
1
Web Servers
102
2
Apache
103
1
IIS
103
1
Summary
104
3
LeSavon.com
107
30
High Level Requirements
108
5
Browser-Based GUI
111
1
Platform-Independent Implementation
111
1
Platform-Independent API
111
2
Scalability
113
1
24 by 7
113
1
High Level Architecture
113
5
Presentation Tier
118
1
General User Community Interface
118
1
Administration Interface
118
1
Security
118
1
Business Tier
118
4
Backend Tier
122
1
Simplifications
122
13
Database
122
1
Order
123
2
Simple Data Access Layer
125
3
SavonException.java
128
6
JDBC-ODBC Bridge
134
1
Security
134
1
Reality Check
134
1
Summary
135
2
SOAP Server
137
50
LeSavon.com Architecture
138
5
Flushing the Cache
140
3
ncrouter
143
1
Implementing the Service
143
11
Router
143
4
RemoteOrder and the OrderService
147
3
RemoteAdmin and the Admin Service
150
2
The LDAP Proxy class
152
1
SOAPCache
152
2
Simple Client
154
3
Compiling the Code
157
4
ANT
158
1
Explaining the ANT file
159
2
Deploying the Application
161
7
Deployment Descriptors
161
2
Registration
163
5
Build and Test
168
6
Custom Serialization
174
9
SOAP Interface Design
183
1
Summary
183
4
SOAP Clients
187
26
The Proxy Pattern
188
3
The Factory Pattern
191
1
The SavonProxy
192
6
The invoke() Method
196
2
Registration
198
3
Caching
201
3
GetOrders2
204
1
Xalan
205
1
Building
205
2
Testing
207
3
Pros and Cons
210
1
Debugging
210
1
Flexibility of Deployment
210
1
Summary
211
2
Security and Personalization
213
52
Naming Services
214
1
Directory Services
214
1
Lightweight Directory Access Protocol (LDAP)
214
6
LDAP Schema
216
2
LDAP Data Interchange Format
218
1
Replication
218
1
Pitfalls
218
1
LDAP Security and Personalization
219
1
Java Naming and Directory Interface (JNDI)
220
1
Roles and Privileges
221
2
Adding Users to LeSavon
223
4
LDAP Browsers
227
2
LDAP Setup
229
13
LDAP Setup for Windows
229
6
LDAP Setup for LINUX
235
2
Non-Platform Specific Configuration Files
237
1
The Schema File
237
1
The LDIF File
238
4
Sample Execution
242
3
Authentication
245
10
Authentication with the Apache Web Server
246
6
Authentication with IIS
252
2
Serviet Engine Security
254
1
LDAP Utility Class
255
7
Serialization
262
1
Name/Value Pair Serialization
262
1
XML Serialization
262
1
Java Serialization
263
1
Summary
263
2
Caching
265
44
Definition
265
2
Pros and Cons
267
1
To Cache or Not To Cache
268
1
What's in a Key?
269
2
Cache Data Structure
271
1
Functionality of the Cache
271
7
Storing and Retrieving
271
1
Off-Line Operation
272
1
Administering the Cache
272
4
Cache Commands
276
1
Refreshing the Cache
277
1
The Danger of Flush
277
1
When Something Goes Wrong
278
1
Client-Side Caching
278
1
Code Review
278
21
Cache Implementation
278
1
The SOAPCache Class
279
15
The Administration Service
294
2
Test Admin
296
1
GetAllOrders
297
2
Build
299
1
Sample Executions
300
7
GetAllOrders
300
6
TestAdmin
306
1
Summary
307
2
Performance
309
46
Bottlenecks
310
2
XML Parsing
310
1
Network Bandwidth
311
1
State Management
311
1
Backend
311
1
Benchmark
312
15
PerfTest
312
8
Build
320
1
Test
320
7
Optimization Techniques
327
9
Hardware Optimization
327
1
Object Life Time
328
3
Caching
331
2
Client-Side Cache Key
333
2
Client State
335
1
Server Virtual Machine
335
1
Load Balancing
336
11
Client-Side Load Sharing
337
1
DNS Load Sharing
338
2
HTTP Load Balancing
340
6
Proximity of Servers
346
1
Caching (Reprise)
347
1
Robustness
347
5
Summary
352
3
Web Application
355
22
High-Level Architecture
356
4
Security Architecture
360
4
JavaBeans
364
4
AdminBean
364
2
UserBean
366
2
LDAPBean
368
1
Build and Test
368
1
Web Pages
369
6
User Pages
370
3
Admin Page
373
2
Summary
375
2
WSDL
377
34
The Big Picture
378
1
Web Service Definition
379
1
WSDL Specification
380
11
Web Service Schema
381
2
Web Service Operations
383
2
Web Service Protocols
385
3
Web Service Location
388
3
The Web Services ToolKit (WSTK)
391
4
LeSavon.com WSDL
395
5
WSTK Proxy
400
4
ProxyTest
404
2
Build and Test
406
1
Summary
407
4
UDDI
411
32
History
412
1
Problem Statement
412
1
Discovery of Services
412
1
Description of Services
413
1
Integration of Services
413
1
UDDI Solutions
413
5
UDDI APIs
418
1
UDDI Support in LeSavon.com
418
22
Registering LeSavon.com
419
9
FindLeSavon
428
1
Code Review
429
2
Build and Test
431
2
PublishLeSavon
433
1
Code Review
433
5
Build and Test
438
2
Summary
440
3
Appendix A: SOAP 1.1 Specifications
443
44
Simple Object Access Protocol (SOAP) 1.1
443
1
W3C Note 08 May 2000
443
1
Abstract
444
1
Status
444
1
Table of Contents
444
1
1. Introduction
445
3
1.1 Design Goals
446
1
1.2 Notational Conventions
446
1
1.3 Examples of SOAP Messages
447
1
2. The SOAP Message Exchange Model
448
1
3. Relation to XML
449
1
4. SOAP Envelope
450
6
4.1.1 SOAP encodingStyle Attribute
451
1
4.1.2 Envelope Versioning Model
451
1
4.2 SOAP Header
451
1
4.2.1 Use of Header Attributes
452
1
4.2.2 SOAP actor Attribute
452
1
4.2.3 SOAP mustUnderstand Attribute
453
1
4.3 SOAP Body
453
1
4.3.1 Relationship between SOAP Header and Body
454
1
4.4 SOAP Fault
454
1
4.4.1 SOAP Fault Codes
455
1
5. SOAP Encoding
456
17
5.1 Rules for Encoding Types in XML
457
3
5.2 Simple Types
460
1
5.2.1 Strings
461
1
5.2.2 Enumerations
461
1
5.2.3 Array of Bytes
462
1
5.3 Polymorphic Accessor
462
1
5.4 Compound types
463
1
5.4.1 Compound Values, Structs and References to Values
463
3
5.4.2 Arrays
466
7
5.5 Default Values
473
1
5.6 SOAP root Attribute
473
1
6. Using SOAP in HTTP
473
3
6.1 SOAP HTTP Request
474
1
6.1.1 The SOAPAction HTTP Header Field
474
1
6.2 SOAP HTTP Response
474
1
6.3 The HTTP Extension Framework
475
1
6.4 SOAP HTTP Examples
475
1
7. Using SOAP for RPC
476
1
7.1 RPC and SOAP Body
476
1
7.2 RPC and SOAP Header
477
1
8. Security Considerations
477
1
9. References
478
1
A. SOAP Envelope Examples
478
5
A.1 Sample Encoding of Call Requests
478
2
A.2 Sample Encoding of Response
480
3
W3C® Document Notice and License
483
4
Copyright © 1994-2001 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Right Reserved. http://www.w3.org/Consortium/Legal/
483
4
Appendix B: Catalina (Tomcat 4.0)
487
10
Appendix C: Authentication with LDAP
497
12
The Apache Web Server
497
4
Integrating Apache and Tomcat
501
2
Securing the /Application Directory using LDAP
503
6
Obtaining the Netscape LDAP SDK
503
1
Obtaining Idap_module.dll
503
6
Appendix D: The Apache Software License, Version 1.1
509
4
Index
513
<