Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Jetty/Howto/Configure Jetty with XBean"
(New page: {{Jetty Howto | introduction = Jetty7 supports [http://xbean.org XBean]. This allows you to use a neat, compact XML format to customize Jetty within an XBean configuration file, along wit...) |
m |
||
Line 1: | Line 1: | ||
{{Jetty Howto | {{Jetty Howto | ||
− | | introduction = Jetty7 supports [http://xbean.org 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 [http://activemq.org/ ActiveMQ] or [http://servicemix.org ServiceMix]. | + | | introduction = |
− | + | Jetty7 supports [http://xbean.org 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 [http://activemq.org/ ActiveMQ] or [http://servicemix.org ServiceMix]. | |
+ | |||
== Configuring Jetty in an XBean Configuration File == | == Configuring Jetty in an XBean Configuration File == |
Revision as of 14:22, 17 August 2010
Introduction
Jetty7 supports 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.
Configuring Jetty in an XBean Configuration File
The following example shows how to configure Jetty inside an XBean configuration file.
<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>
Links
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