Chapter 4 XML Processing
Clients, whether a Web service peer or a rich client interacting with an end
user, implement processes, such as the process just presented, for handling XML
documents either submitted along with requests to a service or received as
responses. Sometimes the application logic of human facing rich clients may have
to deal with the presentation of received documents to the end user rather than
with business logic processing.
Note that real world enterprise applications may have several instances of this
abstract process to handle documents with unrelated schemas or documents with
unrelated purposes. Moreover, these processes can actually be implemented to
span one or more layers of an enterprise application. In particular, in the case of a
Web service endpoint, these phases can be implemented in both the interaction
and processing layers, depending on the processing model used by the Web ser 
vice. See the discussion on a Web services layered architecture in  Key Web Ser 
vices Design Decisions  on page 61.
Designing XML Based Applications
There are a number of considerations to keep in mind when designing XML based
applications, particularly Web service applications. For one, you may need to design
an XML schema specific for your domain. You also need to consider how your
application intends to receive and send documents, and how and when to go about
validating those documents. It is also important to separate the XML document
processing from the application's business logic processing. ( Choosing Process 
ing Models  on page 151 discusses in more detail separating XML document
from business logic processing.)
Whether you design your own domain specific schema or rely on standard
vertical schemas, you still must understand the dynamics of mapping the applica 
tion's data model to the schema. You also need to consider the processing model,
and whether to use a document centric model or an object centric model.
These issues are discussed in the next sections.
4.3.1 Designing Domain Specific XML Schemas
Despite the availability of more and more vertical domain schemas, application
developers still may have to define application specific XML schemas that must be
agreed upon and shared between interoperating participants. With the introduction
of modern schema languages such as XSD, which introduced strong data typing and

New Page 1

Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

java web hosting



 Our partners: | PHP: Hypertext Preprocessor | Best Web Hosting | Java Web Hosting | Inexpensive Web Hosting |

Jsp Web Hosting | Cheapest Web Hosting | Jsp Hosting | Cheap Hosting


Virtualwebstudio. Business web hosting division of Web Design Plus. All rights reserved