Changes

Jump to navigation Jump to search
400 bytes added ,  14:03, 12 November 2019
no edit summary
This page is part of the [[Getting Started]] Section. It describes how BaseX can be used to both provide simple APIs and build complex web applications.  =Startup= * Run one of the {{Code|[[Start_Scripts#Linux.2FMac:_basexhttp|basexhttp]]}} or {{Code|[[Start Scripts#Windows: basexhttp.bat|basexhttp.bat]]}} scripts. Call the script with the {{Code|stop}} keyword to gracefully shut down the server.* If you have installed BaseX on ''Windows'', click on the '''BaseX HTTP Server''' icon. Various [[Command-Line_Options#HTTP Server|command-line options]] are available to simplify batch processing. The [[Start_Scripts|start script]] can be adjusted for individual purposed (e.g. if the default memory limit is too restrictive). BaseX can also be deployed as web servlet in a [[#Servlet Container|Servlet Container]], or using [[#Maven|Maven]]. =Services= The following services are providedavailable and enabled by default:
{| class="wikitable"
| Access to static server resources (HTML, JavaScript, CSS, images, …).
|}
 
==Deployment==
 
This article describes different ways of deploying and configuring these services. BaseX can be deployed as follows:
 
* as standalone application, by running the [[Startup#HTTP Server|BaseX HTTP Server]],
* as web servlet in a [[#Servlet Container|Servlet Container]], and
* as web servlet, using [[#Maven|Maven]].
=Servlet Container=
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu