YOUR FEEDBACK
José D'Andrade wrote: "...it may never be released..." Why? "...if Midori isn’t heir to Windows Mi...
AJAXWorld RIA Conference
$300 Savings Expire August 8
Register Today and SAVE!


2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SYS-CON.TV
TODAY'S TOP SOA & WEBSERVICES LINKS


Finding the Declarative Tipping Point; XQuery, XML, and the RDBMS
XQuery, XML, and the RDBMS

On the business API side, there will be one or more stateless session EJBs. These are not today's custom developed EJBs - instead they are built into the application server. Their primary mission will be to host and execute an XQuery that is embedded as part of their XML descriptor and to return the XML result (or an error message in exceptional situations). On the JSP side, each JSP knows what operation it is responsible for triggering and displaying. A standard tag library will set up the EJB request and direct the resulting XML through an XSLT 2.0 stylesheet for formatting as HTML. That HTML will then be displayed as the complete page. Everything done in this future application is declarative, from the UI to the business API to the database manipulation, and no functionality will be sacrificed to get there.

Follow that basic pattern of JSPs containing tags that call session beans that use XQuery to manipulate data enough times, add in a dash of XACML (XML Access Control Markup Language), XSLT 2.0, and other facilitating declarative infrastructure, and pretty soon you're talking about a real application. Can this exclusively XML-based pattern do everything that might be required of the application the way compiled code does today? For the majority of business intranet applications the answer is "yes." Between the power of XQuery, XPath 2.0, and XSLT 2.0, there isn't much you would need to fall back on Java (or C#) for.

What this means is that in one stroke the new standards knock off a pair of long-standing problems that have repeatedly failed to get full industry consensus in the past: O/R mapping and a common query language.

But wait, XQuery and the others provide an X/R solution, not an O/R one, right? That is basically true. However, if all of the objects you create for your application are generated from XSD or are involved in executing XQueries or XSLT 2.0 stylesheets, you don't really have any significant objects. In that case, they will be pushed down into the application development infrastructure to become a standard part of the application server. Now you don't have that O/R problem anymore - it becomes an X/R issue with a very clear solution, and the infrastructure is already moving in this direction.

What stands between the future and us? Given the way the client sides of so many enterprise Web applications are built today, getting the procedural code out of the picture becomes just a matter of connecting the persistence layer (XQuery) and the client (XSLT-HTML). That is where the declarative deployment descriptors of EJBs and Web services come into play. Add in an XSD-defined domain model, as well as some client-side JavaScript, if you must, and the transformation is virtually complete, at least for the most common ~80 percent of business applications.

With the shift to declarative application development you will see:

  • Significantly increased interoperability due to the shift to technology's most open standards, i.e., the W3C's XML recommendations
  • Much greater flexibility to adapt and configure applications because they are now boiled down to just the essential logic that can be more easily understood and quickly modified and validated within XMLSpy
  • A new way of looking at systems development where coded algorithms are islands within an architectural ocean of infrastructure and declarative data transformation and flow
The upshot is that as a modern developer you need to get ready because more change is coming. Study your current design patterns and your XPath 2.0 (the foundation of both XQuery and XSLT 2.0). While you're waiting for your application server to catch up, check out the more recent code generating data integration tools such as MapForce that are helping to make this vision a reality. Finally, get comfortable with the idea of a declarative future.
About David Kershaw
David Kershaw is the professional services manager at Altova, Inc., the XMLSPY company. David brings 11 years of software engineering, project, and product management to Altova. His previous positions include serving as the Director of Engineering at Classwell Learning Group and the Group Director of Engineering at Organic, Inc. David received his master's degree from Harvard University and his bachelor's degree from the University of Massachusetts.

YOUR FEEDBACK
David Kershaw wrote: Finding the Declarative Tipping Point; XQuery, XML, and the RDBMS. Moving information from a database into an application may be the most common challenge developers face. How many of us make it through life without meeting object/relational (O/R) mapping in some form? Certainly not too many. Lately it has become equally difficult to avoid XML/relational (X/R) mapping. Because XML, and especially XML Schema (XSD), are object-like paradigms, the mapping difficulty is approximately the same. However, under the ever-expanding influence of XML, the extract, transform, load process that gets data from a database into an application (and vice versa) may be about to get radically more simple and declarative.
XML JOURNAL LATEST STORIES . . .
Since its inception, XML has been criticized for the overhead it introduces into the enterprise infrastructure. Business data encoded in XML takes five to 10 times more bandwidth to transmit in the network and proportionally more disk space to store.
Vordel unveiled version 5.1 of its XML network infrastructure products, to accelerate, manage and protect XML applications. Vordel 5.1 addresses the need for lifecycle management of policy across the SOA. By combining the central management of SOA policies with distributed enforcement ...
Two of the biggest launches in Rich Internet Application history took place in 2007/2008 when Adobe launched AIR 1.0 in February '08 and Microsoft launched Silverlight (September '07). At the 6th International AJAXWorld RIA Conference & Expo in October SYS-CON Events is delighted to be...
As the number of XML files in enterprise organizations significantly increases, architects, application developers, and data integration specialists must deal simultaneously with the growing number of XML formatted messages on the network as well as their rapidly expanding file sizes. ...
DataDirect and an operating company of Progress Software Corporation announced the availability of the DataDirect Data Integration Suite. The new offering combines DataDirect Technologies' existing XML-based technologies in one package with a single, simple installation. Software devel...
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON FEATURED WHITEPAPERS


ADS BY GOOGLE
BREAKING XML NEWS

XAware, Inc. today announced the general avail...