In any JSP based web site, there could be lots of repetitive web pages. By using tag libraries and XML based definition files, this can be generalized into a framework based rendering. This article illustrates such usage to render a web site.
XML developers used to rely on XML parsers to read XML files. They also used to rely on XML processors to transform XML to *ML (HTML, XML, etc.). However, most of them forget these tools to generate XML from scratch. They should not. This article presents code samples for generating XML with JAVA/JAXP.
The ability to save the JavaBean component state for long-term persistence within an XML document has been a topic of much discussion with Java developers in the past few years. This feature has finally been adopted in the 1.4 version of J2SE. This article shows you how to use the new XMLEncoder and XMLDecoder classes, bypassing serialization and allowing you to generate fully initialized bean instances.
Testing for performance and scalability using a combination of XML and Java technologies is essential in the fast-paced world of Web-application development. This article outlines a conceptual framework for building Web software, explains why the combination of Java objects and an XML-based scripting language works well for testing, offers such practical Web-software test methods as state and boundary testing, and introduces an open-source set of tools and a scripting language called Load to help with your testing.