[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Early Draft Review: XQuery for Java (JSR 225)


Re:  Early Draft Review: XQuery for Java (JSR 225)
> What do you mean by XQJ client ? Is it the driver, which implements the
> XQJ API, takes the queries and sends them off to the server ?
> Or do you mean the code written by the XQJ user ?

The XQJ client uses a driver to connect and submit queries to an XQuery engine.
A typical scenario is a client-server architecture with the query engine running
on a separate machine from clients that submit queries across the wire (in this
case XQJ clients). The XQuery server and XQJ client execute on separate
computers, or in separate processes if they reside on a single computer.

> Any Java byte arrays can be "serialized" to a sequence of bytes (just
> don't call the "serialize" method, but write something like
> "toMyCustomBLOB()").

1. The client (XQJ or otherwise) has to be pass the query to the XQuery engine
using a mutually-understood format. If Java clients are not passing query
strings, then there needs to be a spec for queries represented as CustomBLOBs.

2. Someone building an XQuery server will often prefer a language-neutral
solution for servicing clients. Come one, come all -- Java clients, C#, Perl,
whatever.

3. If we must choose between elegance and interoperability, my vote is for
interoperability. SOAP and XML RPCs emerged in part because of interoperability
issues with COM+ and CORBA. XQuery servers, like HTTP servers, will serve a
broader audience if they employ language-neutral and platform-neutral
technologies.







PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.