Jetty 8/Jetty 9

NOTE: This node is optional since it is based on cartridge packaging model. If this server is not available at your wizard, please contact your hosting provider for its activation.

Jetty is a free and open source project, developed as part of the Eclipse Foundation. It provides a pure Java-based HTTP (web) server and a servlet container for static and dynamic content serving either from a standalone or embedded instantiations. Jetty also ensures the support of SPDY, WebSocket, OSGi, JMX, JNDI, JAAS and other integrated technologies, each of which is open source and available for commercial use and distribution. Thereby it makes Jetty rather flexible, extendible, and embeddable.

Our platform provides Jetty 6 server by default. And with Jelastic’s cartridges approach you are able to work with the latest versions of this application server: 8th and 9th. See the differences in specifications’ implementation in the table below:

Jetty Version

Servlet Spec

JSP Spec

Java Version

Supported Protocols

Jetty 9.1.x

3.1

2.3

7

HTTP/1.1, WebSocket JSR356 (API), SPDY

Jetty 8.x

3.0

2.1

6

HTTP/1.1, WebSocket, SPDY

To host your application within Jetty 8 or 9 application server in Jelastic Cloud just follow the instruction below.

Jetty 8/9 at Jelastic

1. Log in to Jelastic dashboard with your credentials.

2. Click Create Environment in the upper left corner.

3. In the opened dialog box switch to the Java programming language tab and pick Jetty 8 or 9 as your application server in the appropriate drop-down list (circled below). Then set the resources limits for it within cloudlets scrollers, type the desirable name for a new environment, and click Create.

4. After environment is created and appears at your dashboard, you can run it by clicking Open in browser button next to the Jetty node.

That’s all! Now you can proceed to uploading and deploying your application.