| By Tom Otvos | Article Rating: |
|
| September 1, 1999 12:00 AM EDT | Reads: |
9,145 |
A particularly powerful feature of Tango 2000 is its support of XML. In basic terms, XML is supported as a first-class application data type, enabling the developer to create XML (or, more precisely, DOM) variables that represent complex hierarchical data structures and access, manipulate and stream them with ease. An important point is that any XML structure may be used; the developer isn't limited to a single DTD (such as WDDX).
A good question at this point would be: "Why should I want to create and manipulate XML structures in a Web application?" One reason is to enable a developer to separate business logic from presentation. If you consider a reasonably complex Web application like a shopping basket or portfolio tracker, the logic involved in accessing and processing data (the business logic) can be quite intricate. This typically involves grabbing data from one or more data sources and applying various business rules. The presentation logic on the other hand is focused solely on putting the data in front of the user in a visually compelling way. In large applications these tasks are often done by different people.
It's pretty much axiomatic that most programmers don't know much about user interface design. Therefore, it's a safe bet that the person developing the business logic isn't going to be a hot HTML whiz. Likewise, the presentation-capable person won't necessarily know SQL from Java. Enter XML, which provides a lingua franca between these two camps. As long as both agree on an XML structure as an intermediate representation of the data (i.e., an XML DTD), the business logic programmer can use arbitrarily complex logic to create the data without affecting how the visual designer decides to present that data to the user. The flexibility of XML to describe complex hierarchical data simply makes it an ideal choice.
Even if the business logic and presentation are created by the same person, taking the critical step of separating logic from presentation makes for a much more maintainable application. This is particularly difficult to do in page-centric Web application environments.
A second and more compelling reason to expose XML functionality in Tango 2000 is to empower developers to capitalize on the emerging use of XML as a form of "Web EDI." Because of its plain-text, self-describing nature, XML is rapidly becoming the de facto standard for transferring data between remote and heterogeneous systems. From Microsoft's BizTalk initiative to ERP vendors such as SAP's Business-to-Business Procurement solution, XML is playing a central role in linking systems together. Tango 2000's focus on open and unlimited XML structures provides an opportunity for developers to create "integration solutions" solutions that combine heterogeneous business systems with ease and flexibility.
Consider Tango's role in a hypothetical portfolio tracking application. A user could view his or her portfolio via a Web browser connected to a central Tango application. To make a trade, the user would simply place the order through the Tango application, which would then forward the trade details to a secure server at the brokerage via XML and HTTP. Upon confirmation of the trade (which the Tango application could automatically poll using another XML request), the client's portfolio would be updated. Skeptical? Well, if you do online banking, this is happening already. The next time you connect to your bank using Quicken and download your transactions, save them to a file and have a look. That's XML at work.
Through an intuitive interface, Tango 2000 simplifies the reading, manipulation and streaming of XML data. Moreover, unlike some competing application servers that impose a fixed DTD on your XML, Tango allows the developer to choose precisely what data is sent over the wire. This means that existing back-end servers that already speak XML don't need to be rewritten to allow a Tango application to access them. That flexibility, coupled with Tango 2000's programming model, makes it a good choice for creating XML-centric Web applications easily.
Published September 1, 1999 Reads 9,145
Copyright © 1999 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Tom Otvos
Tom Otvos is director of research for Pervasive Software.
- Three Tips to Successfully Load Test Adobe Flex Applications
- Patterns for Building High Performance Applications
- It's the Java vs. C++ Shootout Revisited!
- Asynchronous Logging Using Spring
- Graal, a Dynamic Java Compiler in the Works
- Cross-Platform Mobile Website Development – a Tool Comparison
- Write Once Run Anywhere or Cross Platform Mobile Development Tools
- Three Buzzwords That Every CIO Hears but One They Should Listen To
- Cloud Expo New York: The Java EE 7 Platform - Developing for the Cloud
- Immersing into JavaScript Frameworks
- Workday Reportedly Prepping to Go Public
- Book Review: Sams Teach Yourself Java in 24 Hours
- Three Tips to Successfully Load Test Adobe Flex Applications
- Book Excerpt: Introducing HTML5
- Five Years Waiting for JRE 7: Is It Justified? (Part 1)
- Book Excerpt: Java Application Profiling Tips and Tricks
- i-Technology in 2012: Five Industry Predictions
- Patterns for Building High Performance Applications
- It's the Java vs. C++ Shootout Revisited!
- OpenXava 4.3: Rapid Java Web Development
- The Next Web Architecture
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Graal, a Dynamic Java Compiler in the Works
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- JavaServer Faces (JSF) vs Struts
- The i-Technology Right Stuff
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- What's New in Eclipse?
- i-Technology Predictions for 2007: Where's It All Headed?


















