Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Jetty/Tutorial/Jetty-OSGi SDK"
(New page: {{Jetty Reference | introduction = Jetty-OSGi SDK goal extends the Plugin Development Environment (PDE) to the development and debugging of web-applications. | body = The "Jetty" launch co...) |
|||
Line 12: | Line 12: | ||
Unzip those inside the dropins folder of your eclipse-3.6M3 installation. | Unzip those inside the dropins folder of your eclipse-3.6M3 installation. | ||
− | === First | + | === First web-application defined in an OSGi bundle === |
=== Launch configuration === | === Launch configuration === | ||
+ | The configuration of the application server, jetty is done via the usual configuration files: ${jetty.home}/etc/jetty.xml and others. (Need to insert a link for that). | ||
+ | By default jetty is launched on port 8080 for http and port 8443 for https. The "central logging" is enabled by default: all logging is configured via ${jetty.home}/resources/logback.xml (or log4j.properties) | ||
=== Debugging web-applications defined in standard java projects === | === Debugging web-applications defined in standard java projects === |
Revision as of 23:39, 28 November 2009
Contents
Introduction
Jetty-OSGi SDK goal extends the Plugin Development Environment (PDE) to the development and debugging of web-applications.
The "Jetty" launch configuration prepares the execution of jetty-osgi and deploys web-applications on it. The web-applications are either defined as pure java projects or as OSGi bundles. The SDK also provides a couple of project templates suitable to create web-applications embedded inside an OSGi bundle.
Installation
The build of the SDK is not yet done in eclipse.
Download eclipse-3.6M3 or more recent. Download the latest jetty-SDK-runtime and jetty-SDK-sources
Unzip those inside the dropins folder of your eclipse-3.6M3 installation.
First web-application defined in an OSGi bundle
Launch configuration
The configuration of the application server, jetty is done via the usual configuration files: ${jetty.home}/etc/jetty.xml and others. (Need to insert a link for that). By default jetty is launched on port 8080 for http and port 8443 for https. The "central logging" is enabled by default: all logging is configured via ${jetty.home}/resources/logback.xml (or log4j.properties)
Debugging web-applications defined in standard java projects
Additional Resources
Jetty-OSGi, RFC66, PDE We are working on migrating all building an update site and executing the build on eclipse with the rest of the jetty@eclipse project.