zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #09485
[Merge] lp:~zorba-coders/zorba/doc-java-fix into lp:zorba
Matthias Brantner has proposed merging lp:~zorba-coders/zorba/doc-java-fix into lp:zorba.
Requested reviews:
Matthias Brantner (matthias-brantner)
Rodolfo Ochoa (rodolfo-ochoa)
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/doc-java-fix/+merge/105258
note in the java documentation that it might be deprecated in favor of xqj
--
https://code.launchpad.net/~zorba-coders/zorba/doc-java-fix/+merge/105258
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'doc/java/manual/indexpage.dox'
--- doc/java/manual/indexpage.dox 2012-05-03 12:31:51 +0000
+++ doc/java/manual/indexpage.dox 2012-05-09 19:55:25 +0000
@@ -1,18 +1,10 @@
/*! \mainpage Java API Documentation
- Zorba ships with a Java language binding that provides some basic features in order to prepare and execute queries
- with Zorba.
+ Zorba provides two Java language bindings: (1) a language binding generated using SWIG that is similar to the bindings for Ruby or Python and (2) a binding that implements the <a href="http://jcp.org/en/jsr/detail?id=225">XQuery API for Java (XQJ)</a>.
- For the moment, we provide a <a class="en" href="examples.html">set of examples</a> that show how this language binding can be used.
-
- \section note Note for garbage collected languages
- Zorba requires that objects must be deleted in a certain order, which Garbage Collectors are not aware of. For that reason,
- the Iterators created with XQuery.iterator() must be explicitly deleted with iterator.delete() before the XQuery
- object is deleted.
-
+ Although, the XQJ binding is currently implemented entirely on top of the SWIG binding, we encourage people to only use the XQJ binding. The SWIG generated binding might be deprecated in the future.
\example Test_Zorba.java
- This is a simple example that demonstrate how to use the Zorba XQuery Engine to
- create, compile, and execute queries.
+ This is a simple example that demonstrate how to use the SWIG generated binding to create, compile, and execute queries.
*/
Follow ups