BaseX provides access to stored database resources and to the XQuery engine via [[REST]], [[RESTXQ]] and [[WebDAV]] services. This article describes different ways of deploying and configuring these services. The services can be deployed in three different ways:
* as web servlets in a J2EE servlet container[[#Servlet Container|Servlet Container]],* for development purposes, using maven[[#Maven|Maven]], and* as a [[Startup#BaseX HTTP Server|standalone application]] via command-line or desktop icons.<br/><br/>
=Servlet Container=