O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction

As we mentioned in the previous chapter, it is often useful to simply convert the contents of an XML document to another form, to transform the contents. Applying this approach to multitiered J2EE development, business tier components can be developed to output data in XML format and the presentation tier can then perform the appropriate transformation to create the presentation needed, whether that presentation is an HTML page or a Swing GUI.

The javax.xml.transform package and its subpackages contain the classes and interfaces that provide for XML transformation. In this chapter we examine the process of transformation and provide an example of using the transformation API.

In developing applications, we also have the need to create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required