Java Examples

From BaseX Documentation
Revision as of 09:40, 9 February 2011 by 188.143.232.65 (talk) (EMUYFb <a href="http://tdbkvcgwgxui.com/">tdbkvcgwgxui</a>, [url=http://urbniavjazsf.com/]urbniavjazsf[/url], [link=http://ocviahfmtowl.com/]ocviahfmtowl[/link], http://xhdbbytsqbby.com/)
Jump to navigation Jump to search

The following Java code snippets demonstrate how easy it is to run database commands, create collections, perform queries, etc. via the BaseX API:

EMUYFb <a href="http://tdbkvcgwgxui.com/">tdbkvcgwgxui</a>, [url=http://urbniavjazsf.com/]urbniavjazsf[/url], [link=http://ocviahfmtowl.com/]ocviahfmtowl[/link], http://xhdbbytsqbby.com/

Server Examples

ServerCommands
launches server-side commands using a client session.
ServerAndLocal
processes server results locally.
ServerConcurrency
runs concurrent queries.
UserExample
manages database users.

JAX-RX API (REST) Examples

JaxRxGET
shows the function of the HTTP GET method.
JaxRxPOSTAdd
shows the add function of the HTTP POST method.
JaxRxPOSTQuery
shows the query function of the HTTP POST method.
JaxRxPUT
shows the function of the HTTP PUT method.
JaxRxDELETE
shows the function of the HTTP DELETE method.

XML:DB API Examples

XMLDBCreate
creates a collection using XML:DB.
XMLDBQuery
runs a query using XML:DB.
XMLDBInsert
inserts a document into a database using XML:DB.

XQJ API Example

XQJQuery
runs a query using XQJ.