O'Reilly - Java and XML 2nd Edition.pdf
(
5294 KB
)
Pobierz
Java & XML, 2nd Edition
Java & XML, 2
nd
Edition
Brett McLaughlin
Publisher: O'Reilly
Second Edition September 2001
ISBN: 0-596-00197-5, 528 pages
New chapters on Advanced SAX, Advanced DOM, SOAP and data binding, as well as new
examples throughout, bring the second edition of Java & XML thoroughly up to date. Except
for a concise introduction to XML basics, the book focuses entirely on using XML from Java
applications. It's a worthy companion for Java developers working with XML or involved in
messaging, web services, or the new peer-to-peer movement.
Table of Contents
Preface
.....................................................
Organization
.................................................
Who Should Read This Book?
.....................................
Software and Versions
..........................................
Conventions Used in This Book
....................................
Comments and Questions
........................................
Acknowledgments
.............................................
1
1
4
4
5
5
6
1. Introduction
................................................
1.1 XML Matters
..............................................
1.2 What's Important?
...........................................
1.3 The Essentials
.............................................
1.4 What's Next?
..............................................
8
8
10
11
14
2. Nuts and Bolts
..............................................
2.1 The Basics
...............................................
2.2 Constraints
...............................................
2.3 Transformations
............................................
2.4 And More...
...............................................
2.5 What's Next?
..............................................
15
15
24
31
38
38
3. SAX
......................................................
3.1 Getting Prepared
............................................
3.2 SAX Readers
..............................................
3.3 Content Handlers
...........................................
3.4 Error Handlers
.............................................
3.5 Gotcha!
.................................................
3.6 What's Next?
..............................................
39
39
41
47
60
65
68
4. Advanced SAX
..............................................
4.1 Properties and Features
.......................................
4.2 More Handlers
.............................................
4.3 Filters and Writers
..........................................
4.4 Even More Handlers
.........................................
4.5 Gotcha!
.................................................
4.6 What's Next?
..............................................
69
69
75
80
86
90
92
5. DOM
.....................................................
5.1 The Document Object Model
...................................
5.2 Serialization
..............................................
5.3 Mutability
................................................
5.4 Gotcha!
.................................................
5.5 What's Next?
..............................................
93
93
97
108
109
110
6. Advanced DOM
.............................................
6.1 Changes
.................................................
6.2 Namespaces
...............................................
6.3 DOM Level 2 Modules
.......................................
6.4 DOM Level 3
.............................................
6.5 Gotcha!
.................................................
6.6 What's Next?
..............................................
111
111
120
124
136
139
140
7. JDOM
....................................................
7.1 The Basics
...............................................
7.2 PropsToXML
.............................................
7.3 XMLProperties
............................................
7.4 Is JDOM a Standard?
........................................
7.5 Gotcha!
.................................................
7.6 What's Next?
..............................................
141
141
145
154
164
165
167
8. Advanced JDOM
............................................
8.1 Helpful JDOM Internals
.......................................
8.2 JDOM and Factories
.........................................
8.3 Wrappers and Decorators
......................................
8.4 Gotcha!
.................................................
8.5 What's Next?
..............................................
168
168
172
177
188
190
9. JAXP
.....................................................
9.1 API or Abstraction
..........................................
9.2 JAXP 1.0
................................................
9.3 JAXP 1.1
................................................
9.4 Gotcha!
.................................................
9.5 What's Next?
..............................................
191
191
192
199
208
209
10. Web Publishing Frameworks
...................................
10.1 Selecting a Framework
.......................................
10.2 Installation
...............................................
10.3 Using a Publishing Framework
.................................
10.4 XSP
...................................................
10.5 Cocoon 2.0 and Beyond
......................................
10.6 What's Next?
.............................................
210
211
213
217
230
244
247
11. XML-RPC
................................................
11.1 RPC Versus RMI
..........................................
11.2 Saying Hello
.............................................
11.3 Putting the Load on the Server
..................................
11.4 The Real World
...........................................
11.5 What's Next?
.............................................
248
248
250
261
274
277
12. SOAP
....................................................
12.1 Starting Out
..............................................
12.2 Setting Up
...............................................
12.3 Getting Dirty
.............................................
12.4 Going Further
.............................................
12.5 What's Next?
.............................................
278
278
281
285
293
300
13. Web Services
...............................................
13.1 Web Services
.............................................
13.2 UDDI
..................................................
13.3 WSDL
.................................................
13.4 Putting It All Together
.......................................
13.5 What's Next?
.............................................
301
301
302
303
306
323
14. Content Syndication
..........................................
14.1 The Foobar Public Library
....................................
14.2 mytechbooks.com
..........................................
14.3 Push Versus Pull
...........................................
14.4 What's Next?
.............................................
324
325
333
341
350
15. Data Binding
...............................................
15.1 First Principles
............................................
15.2 Castor
..................................................
15.3 Zeus
...................................................
15.4 JAXB
..................................................
15.5 What's Next?
.............................................
351
352
357
364
372
379
16. Looking Forward
...........................................
16.1 XLink
..................................................
16.2 XPointer
................................................
16.3 XML Schema Bindings
......................................
16.4 And the Rest...
............................................
16.5 What's Next?
.............................................
380
380
382
385
386
386
A. API Reference
..............................................
A.1 SAX 2.0
.................................................
A.2 DOM Level 2
.............................................
A.3 JAXP 1.1
................................................
A.4 JDOM 1.0 (Beta 7)
..........................................
387
387
398
404
410
B. SAX 2.0 Features and Properties
.................................
B.1 Core Features
.............................................
B.2 Core Properties
............................................
420
420
421
Colophon
....................................................
423
Plik z chomika:
agentpl
Inne pliki z tego folderu:
O'Reilly - DNS on Windows Server 2003.chm
(2758 KB)
O'Reilly - Dreamweaver in a Nutshell.chm
(3750 KB)
O'Reilly - Dreamweaver MX 2004 The Missing Manual.chm
(15236 KB)
O'Reilly - Dynamic HTML The Definitive Reference.pdf
(9442 KB)
O'Reilly - eBay Hacks 100 Industrial Strength Tips and Tools.chm
(3279 KB)
Inne foldery tego chomika:
Addison Wesley
Packt Books
Wiley
Zgłoś jeśli
naruszono regulamin