Java 2EE and XML Development

Скачать в pdf «Java 2EE and XML Development»

XML technologies for storing and retrieving persistent XML data are in their infancy. For now, converting between XML and relational formats is required in most production systems. Over time, tools such as XQuery and XML database products plan to eliminate this requirement for many types of applications. For now, implementing the data access object and doing some form of conversion between data formats is a useful approach.

Using XML throughout your application may not be appropriate in situations where response time must be minimized or system memory is severely constrained. Using XML is more resource-intensive than using a more specific approach. As the technology matures, this will become less of an issue. For now, carefully consider the costs and benefits of using XML throughout your application before proceeding to design it.



This chapter

■    Introduces system integration concepts

■    Suggests techniques for successful J2EE

■    Systems integration

■    Demonstrates implementation of J2EE-based web services

■    Uses JAX APIs to enable web services

This chapter is about using XML technology to integrate your J2EE application with other applications and services. We describe the systems integration activity and its central role in the success of your distributed system. We also present a proven approach for integrating independent systems, including the major architectural patterns used to do so. Traditional approaches to systems integration are compared and contrasted with XML-based ones.

The remainder of the chapter focuses on the web services architecture that many believe is the future of distributed systems on the Internet. We define and discuss SOAP and its role in web services. We then provide examples of producing, locating, and consuming web services from within the J2EE environment.

Скачать в pdf «Java 2EE and XML Development»