Java 2EE and XML development

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

First of all, it is out of date. And, it is not enough for a developer to learn how to use XML in J2EE environment. Yes, it does have some sample code, but not enough.

Author(s): Kurt A. Gabrick, David B. Weiss, David Weiss
Edition: 1st
Publisher: Manning
Year: 2002

Language: English
Pages: 298
City: Greenwich, CT

From the back cover......Page 2
Advance praise for this book......Page 3
J2EE and XML Development......Page 4
contents......Page 8
preface......Page 12
acknowledgments......Page 13
about this book......Page 14
about the authors......Page 19
about the cover illustration......Page 20
author online......Page 22
Getting started......Page 24
1.1 Distributed systems overview......Page 25
1.1.1 Distributed systems concepts......Page 26
1.1.2 N-tier application architecture......Page 35
1.1.3 Overcoming common challenges......Page 37
1.2.1 J2EE and development methodologies......Page 45
1.2.2 J2EE development tools......Page 47
1.3.1 Testing J2EE applications......Page 52
1.3.2 Deploying J2EE applications......Page 56
1.4 Summary......Page 58
XML and Java......Page 60
2.1 XML and its uses......Page 61
2.1.1 XML validation technologies......Page 64
2.1.2 XML parsing technologies......Page 67
2.1.3 XML translation technologies......Page 69
2.1.4 Messaging technologies......Page 71
2.1.5 Data manipulation and retrieval technologies......Page 74
2.1.6 Data storage technologies......Page 77
2.2 The Java APIs for XML......Page 78
2.2.1 JAXP......Page 80
2.2.2 JDOM......Page 89
2.2.3 JAXB......Page 92
2.2.4 Long Term JavaBeans Persistence......Page 97
2.2.5 JAXM......Page 99
2.2.6 JAX-RPC......Page 100
2.3 Summary......Page 101
Application development......Page 104
3.1 XML component interfaces......Page 105
3.1.1 Using value objects......Page 107
3.1.2 Implementing XML value objects......Page 110
3.1.3 When not to use XML interfaces......Page 118
3.2 XML and persistent data......Page 119
3.2.1 Querying XML data......Page 120
3.2.2 Storing XML data......Page 126
3.3 Summary......Page 133
Application integration......Page 136
4.1.1 Traditional approaches to systems integration......Page 137
4.1.2 XML-based systems integration......Page 145
4.3 J2EE and SOAP......Page 148
4.3.1 Creating a simple SOAP message......Page 149
4.3.2 Using SOAP with Attachments......Page 152
4.3.3 Using JAXM for SOAP Messaging......Page 154
4.4 Building web services in J2EE......Page 161
4.4.1 What is a web service?......Page 162
4.4.2 Providing web services in J2EE......Page 163
4.4.3 Implementing our example web services......Page 165
4.4.5 J2EE web services and Microsoft .NET......Page 176
4.5 Summary......Page 177
User interface development......Page 180
5.1 Creating a thin-client user interface......Page 181
5.1.2 Serving multiple locales......Page 182
5.1.3 An example to work through......Page 183
5.2 The pure J2EE approach......Page 185
5.2.1 The J2EE presentation tool kit......Page 186
5.2.2 Issues in J2EE MVC architecture......Page 187
5.2.3 Building our example in J2EE......Page 189
5.3.1 Adding XSLT to the web process flow......Page 200
5.3.2 Analyzing the results......Page 208
5.3.3 Extending to binary formats......Page 209
5.4 XML web publishing frameworks......Page 218
5.4.1 Introduction to Cocoon architecture......Page 219
5.4.2 Using Cocoon to render the watch list page......Page 220
5.4.3 Analyzing the results......Page 223
5.6 Summary......Page 224
Case study......Page 226
6.1 Case study requirements......Page 227
6.2 The application environment......Page 229
6.3.1 Services and data layer analysis......Page 230
6.3.3 Other necessary components......Page 231
6.4.1 Designing the application logic layer......Page 233
6.4.2 Designing the user interface......Page 235
6.5 Validating our design......Page 236
6.6.1 Building the controller servlet......Page 238
6.6.2 Building the ApplicationMenu component......Page 240
6.6.3 Building the ComponentLocator......Page 241
6.6.4 Building the BugAccessorBean......Page 244
6.6.5 Building the XSLTFilter......Page 246
6.7 Structuring application data......Page 247
6.8 The Amaya web service......Page 248
6.9.1 Installation......Page 252
6.9.2 Viewing the main menu......Page 253
6.9.4 Viewing and updating the Amaya problem list......Page 254
6.9.5 Inspecting the web services SOAP messages......Page 255
6.10 Summary......Page 256
Design patterns for J2EE and XML......Page 258
A.1.1 The Decorating Filter pattern......Page 259
A.1.2 The Model-View-Controller pattern......Page 260
A.2.1 The Service Locator pattern......Page 262
A.2.3 The Value Object pattern......Page 263
A.2.4 The Data Access Object pattern......Page 264
Distributed application security......Page 266
B.2.1 Authentication models......Page 267
B.2.3 Distributed security contexts......Page 268
B.3.2 Asymmetrical cryptography......Page 269
B.3.3 Tradeoffs and common implementations......Page 270
The Ant build tool......Page 272
C.1 Installing and configuring Ant......Page 277
C.2 Creating a build file......Page 278
C.2.1 Dynamically constructed paths and file sets......Page 279
C.2.2 A Sample build file......Page 280
C.3.1 Developing the task......Page 284
C.3.3 Integrating the task......Page 285
C.4.1 Developing the listener......Page 286
C.5 Summary......Page 287
resources......Page 288
Special offer:......Page 298
index......Page 292