==Configuration==
The same options as in the case of deployment in a servlet container apply. In this case, however, there is no WAR archive. Instead, Jetty uses the directory {{Code|basex-api/src/main/webapp}}. For configuring various Also here, Jetty runtime and servlet options, such can be configured in the {{Code|jetty.xml}} and {{Code|web.xml}} files as described above in the [[#Configuration|Servlet Container Configuration]]. The Jetty stop port, context path, etc. refer to can be changed in the [http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin Maven Jetty Plugin]. These should be entered sesion in the {{Code|pom.xml}} file of the {{Code|basex-api}} project. Aswell in this case {{Code|jetty.xml}} and {{Code|web.xml}} can be configured as described above in [[#Configuration | Servlet Container Configuration]].
=Standalone Application=