Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Jetty6 now has support for XBean. This allows you to use a neat compact XML format to customize Jetty within an XBean configuration file along with configuring other Geronimo projects like ActiveMQ or ServiceMix.

e.g. the following shows how to configure Jetty inside an XBean configuration file.

Code Block
<beans>
  <jetty xmlns="http://mortbay.com/schemas/jetty/1.0">
    <connectors>
      <nioConnector port="8181" />
    </connectors>

    <handlers>
      <webAppContext contextPath="/" resourceBase="/tmp/webapp" parentLoaderPriority="false" />
    </handlers>
  </jetty>
</beans>

There is also an auto-generated XSD and HTML reference for the XML configuration language

More information on configuring services using XBean XML to provide Custom XML

Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery