|
|
||
|
| ||
Part 1 Java XML Programmers Reference Chapter 11: XML Tools for Information Appliances September 17, 2001
Lightweight client support for XML has largely been ignored in the XML revolution. This may be a reflection of the role of the client-side developer. Traditional client-side developers have all but disappeared from many contemporary web application developments, ever since n-tier architecture has displaced the client-server paradigm in the enterprise. Therefore, if the developers themselves have slimmed down in numbers, the tools they use are bound to become less common. The lack of these tools is also perhaps a construct of what today seems a predominantly server-dominated industry. Perhaps they are lacking because of the ease with which web applications enable developers to forget about them. Prevailing attitudes can be summed up this way: "Anyone who understands my DTD or XML Schema, can display this document class as they please." Even server-side developers churning out WML today are probably still treating WML as yet another document class that their server application needs to support. But the number of document classes being published by enterprises grows every day. Servers that produce one or more of these myriad of XML formats (WML being one of them) suddenly complicate things on the lightweight client where slick heavyweight browsers with ActiveX controls don't exist. Lightweight clients simply don't have the capabilities and resources available to browser environments. The role of the lightweight client-side developer has now been boosted to that of browser developer or "XML processor" developer. More generally, the client-side developer now has a rejuvenated role as a Java XML developer in the world of lightweights, especially with the success of the Java 2 Platform, Micro Edition (see J2ME, page 571). In the future, if the modular and lightweight XHTML Basic (see Too Many Client Formats, page 567) becomes popular and natively supported by vendors, client-side development may be relegated back to that of scripting with most work done on the server-side. However, we have not yet reached that point. Most contemporary discussions about XML technologies focus around server-side issues, such as document generation from a relational database, document parsing and persistence to a data store, document transmission, or document transformation for an anticipated client (such as a Compact HTML browser). When client-side issues are addressed, they are often limited to Microsoft Internet Explorer or Netscape Communicator. Case in point: Microsoft has substantive support for XML with MSXML in Internet Explorer. The latest release of MSXML, 3.0, supports:
So, what do we do if we need to parse, generate, or transform XML on a lightweight client? Do we even need to do this at all? The Need for XML On Lightweights The future will show that, as Java and XML developers, we must pay more attention to XML technologies on lightweight clients. Even server-side-only developers, who today often just transform their XML into a subset of (X)HTML supported by the most common browser, will have to change their approach. There are at least five reasons why you need or will need to parse, process, generate, and transform XML on lightweight clients. We will go into detail on each one of these:
| ||
|
PAGE: 1 | 2 | 3 | 4 | 5 | NEXT PAGE |
||













