Changes

Jump to navigation Jump to search
27 bytes added ,  11:08, 9 February 2015
no edit summary
BaseX is very light-weight. It can be run and used in various ways:
* as standalone application, using the [[Graphical User InterfaceStandalone|Standalone]] mode or the [[Standalone Mode#GUI|Command-Line Graphical User Interface]],* as [[Database #Client/Server|clientClient/serverServer]] application, or* as [[#Web Application|Web Application]], called from a web server.
It can also be embedded as library in your own application.
to be written to is currently opened by another virtual machine.
==Standalone== The [[Standalone Mode]] can be used to execute XQuery expressions or run database commands on command line. It can also be used both for scripting and batch processing your XML data. The standalone version can be started as follows(get more information on all [[Command-Line Options#BaseX Standalone|Startup Options]]): * Run one of the {{Code|[[Start_Scripts#Linux.2FMac:_basex|basex]]}} or {{Code|[[Start Scripts#Windows: basex.bat|basex.bat]]}} scripts.* Execute the following command: {{Code|java -cp BaseX .jar org.basex.BaseX}}* On ''Windows'': Double click on the '''BaseX''' icon. Note that the standalone mode does ''not'' interact with the client/server architecture. ==GUI== 
The [[GUI]] is the visual interface to the features of BaseX.
It can be used to create new databases, perform queries or interactively
Note that the GUI does ''not'' interact with the client/server architecture.
==BaseX StandaloneClient/Server==The [[Standalone Mode]] can be used to execute XQuery expressions or run database commands on command line. It can also be used both for scripting and batch processing your XML data.
The standalone version can be started as follows(get more information on all [[Command-Line Options#BaseX Standalone|Startup Options]]):===Server===
* Run one of the {{Code|[[Start_Scripts#Linux.2FMac:_basex|basex]]}} or {{Code|[[Start Scripts#Windows: basex.bat|basex.bat]]}} scripts.
* Execute the following command: {{Code|java -cp BaseX.jar org.basex.BaseX}}
* On ''Windows'': Double click on the '''BaseX''' icon.
 
Note that the standalone mode does ''not'' interact with the client/server architecture.
 
==BaseX Server==
The [[Database Server]] comes into play if BaseX is to be used by
more than one user (client). It handles concurrent [[Transaction_Management|read and write transactions]],
Pressing {{Code|Ctrl+c}} will close all connections and databases and shut down the server process.
==BaseX =Client=== 
The [[Database Server|BaseX Client]] interface can be used to send
commands and queries to the server instance on command line.
The password should be changed with the {{Code|[[Commands#PASSWORD|PASSWORD]]}} command after the first login.<br/>
Please check out the article on the We provide various [[Database ServerClients]] for more details(language bindings), which allow you to communicate with BaseX from other programming lanaguges.
==BaseX HTTP ServerWeb Application==
The With the HTTP Server gives access to the [[REST]], BaseX can be used as [[RESTXQWeb Application]] and [[WebDAV]] Services of BaseX.By default, it starts an instance of the [http://jetty.codehaus.org/jetty/ Jetty Web Server]is started,which by default listens to the port {{Code|8984}}, and the BaseX Server, which listens to {{Code|1984}}.
To run the HTTP Server, you need to [http://basex.org/products/download/ download] one of the full distributions of BaseX (exe, zip, war), as the JAR version does not include any additionally required libraries. It can then be started as follows
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu