Difference between revisions of "Java Examples"

From BaseX Documentation
Jump to navigation Jump to search
Line 1: Line 1:
 
The following Java code snippets demonstrate how easy it is to run database commands, create collections, perform queries, etc. via the BaseX API:
 
The following Java code snippets demonstrate how easy it is to run database commands, create collections, perform queries, etc. via the BaseX API:
  
 +
==Local Examples==
 
;[[RunCommands]]
 
;[[RunCommands]]
 
:creates and drops database and index instances and prints a list of all existing databases.
 
:creates and drops database and index instances and prints a list of all existing databases.
 +
 +
==XQJ API Example==
 +
 +
==Server Examples==
 +
 +
==XML:DB API Examples==
  
  
 
[[Category:Finish]]
 
[[Category:Finish]]

Revision as of 12:42, 7 January 2011

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

Local Examples

RunCommands
creates and drops database and index instances and prints a list of all existing databases.

XQJ API Example

Server Examples

XML:DB API Examples