Changes

Jump to navigation Jump to search
1,493 bytes added ,  12:50, 30 July 2018
=Getting Started=
 
BaseX is very light-weight. It can be run and used in various ways:
 
* as standalone application, using the [[#Standalone|Standalone]] mode or the [[#Graphical User Interface|Graphical User Interface]],
* as [[#Client/Server|Client/Server]] application, or
* as [[#HTTP Server|Web Application]], called from a web server.
 
It can also be embedded as a library in your own application.
First of all, [http://basex.org/download download] BaseX from our homepage.
The following distributions are available:
* the ==Distributions== ===Core Package=== The '''Core Package''' is a small JAR file, which . It contains the database system, the query XQuery processor and the GUI frontendgraphical user interface. It is runs completely without does not require any additional libraries.* the ===Full Distributions=== The '''ZIP ArchivePackage''' and the '''Windows Installer''' contain the BaseX core library and extra libraries for web applications and advanced features, [[Start Scripts]], and some additional optional files. After BaseX has been unzipped or installed, the following directories will be available: * {{Code|bin/}}: Start scripts (Windows, Linux).* the '''WAR Archive''' {{Code|data/}}: Database directory. See [[Configuration]] for more details.* {{Code|etc/}}: Example data: XML sample, [[Catalog Resolver|catalog and DTD files]].* {{Code|lib/}}: Extra libraries (Jetty, Tagsoup, …).* {{Code|lib/custom/}}: Directory, in which additional JAR files can be embedded placed (such as the Saxon library).* {{Code|repo/}}: [[Repository]] (the [http://www.xqueryfunctions.com FunctX] library is included as example).* {{Code|src/}}: Directory for your XQuery scripts and other source data.* {{Code|webapp/}}: [[Web Application]] directory: RESTXQ web application, REST scripts, [[DBA]]. If BaseX is started via the start scripts or the Windows icons, all JAR files in existing Java web serversthe {{Code|lib}} directory and its descendant directories will be added to the classpath. If you work with the ZIP distribution, and if you want to make BaseX globally available, you can add the {{Code|bin}} directory to your PATH environment variable.
Some additional distributions are available from the download page,most of which contain only the core package and, optionally, scripts for starting BaseX.===Web Archive===
BaseX is very light-weight. It The '''WAR Archive''' can be run and used embedded in various ways:existing Java web servers.
* as standalone application, using the [[#Standalone|Standalone]] mode or the [[#Graphical User Interface|Graphical User Interface]],* as [[#Client/Server|Client/Server]] application, or* as [[#HTTP Server|Web Application]], called from a web server.===Other Distributions===
It can also be embedded as a library in your own applicationVarious other distributions are available from the download page, most of which contain only the core package and, optionally, scripts for starting BaseX.
===Requirements===
BaseX is platform-independent and runs on any system that provides an implementation of the [http://www.java.com Java Runtime Environment (JRE)]:
Linux (SuSE xxx, Debian, Ubuntu) and OpenBSD (4.x).
===Concurrent Operations===
If you want to perform parallel (concurrent) read and write operations on your databases, you must use the client/server architecture or deploy BaseX as web application. You can safely open a database in different JVMs (Java virtual machines) for read-only access, and you will not encounter any problems when reading from and writing to different databases, but update operations from different JVMs to the same database will be rejected or may even lead to corrupt databases.
After that, you can e. g. open your browser and navigate to the RESTXQ start page http://localhost:8984.
 
==Database Administration==
 
The [[DBA]] is a web-based database administration interface. It allows you to create and administrate databases, evaluate queries in realtime, view log files, manage users, etc.
 
It can be accessed via http://localhost:8984/dba/.
=Changelog=
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu