Yes, you must use the XDBC protocol against an XDBC Server, and similarly, you 
cannot use the XDBC protocol against an HTTP Server.  You can, however, have an 
XDBC Server and an HTTP Server running on the same host, but on different 
ports. Simply create one (or as many as you need) of each type of App Server. 

-Danny

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Pawson
Sent: Saturday, December 06, 2008 12:05 AM
To: General Mark Logic Developer Discussion
Subject: Re: [MarkLogic Dev General] Re: XDBC creation / access

2008/12/5 Danny Sokolsky <[EMAIL PROTECTED]>:
> Hi Dave,
>
> You need to send requests to an XDBC Server using the XDBC protocol, which is 
> what the XCC libraries (there are ones available for Java and .NET) do.  XCC 
> uses HTTP to send the protocol to the server.  Using XCC, you  can write a 
> program to send adhoc queries to that XDBC server, and the results are 
> returned to the program.  See the Hello World example in the XCC Javadoc to 
> get an idea how to do this.

> http://developer.marklogic.com/pubs/4.0/javadoc/com/marklogic/xcc/examples/doc-files/HelloWorld.java.txt

Thanks. Again a java api.

>
> When you use an HTTP Server to service requests, it knows how to execute 
> XQuery directly.
> I hope that help with untangling the mystery....

Then the obvious question, can I mix the two? *Must* I use the xdbc
protocol when using that server?
(And vice versa?)


regards


Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to