|
|
|
Developing with XSLT and Java™
In the past couple of years, XSLT has been widely adopted, both as a tool for producing HTML web sites, and more generally as a component in XML applications. As a key piece in the jigsaw of the XML family of standards, it has allowed developers to specify the processing of XML input independently of platform, operating system or processor. However, its scope remains limited to taking XML as input, and outputting XML, text or HTML. A developer wishing to implement XSLT-based applications in environments wider than the controlled sphere of the prototype or proof of concept may have to tackle some practical issues which XSLT on its own does not address.
|
|
Generate JavaBean classes dynamically with XSLT
For some projects, you need a more flexible business object structure. For example, different companies may have different requirements for Product bean properties. Without a proper framework, you may end up spending long hours customizing your data structures for every new customer, soon finding yourself with parallel software versions. This article lays a foundation for a simple framework to build truly adaptive systems, saving you hours of routine programming. As a bonus, you get a refresher on JDBC (Java Database Connectivity) and JSPs (JavaServer Pages), and you'll also learn how to use XSLT (Extensible Stylesheet Language for Transformations) to generate Java source code.
|
|
|