Tuesday, 17 July 2012

how-to-download-and-install-jetty

Jetty Quick Start

Jetty is 100% java components are full-featured, standards based, embeddable, asynchronous and enterprise scalable, The following provides quick instructions for downloading, installing, and running the binary version of Jetty 6.
  1. Download Jetty
    Jetty Available Distribution is from Codehaus and Eclipse, currently Jetty latest version is jetty-6.1.25 from Codehaus. You can download it from the following address:
    http://dist.codehaus.org/jetty/
    http://www.eclipse.org/jetty/downloads.php
    For this Downloading and Installing Jetty tutorial we use jetty from Codehaus. The compressed files should be Platform-independent, so Windows and Linux both can use this compressed files.
  2. Unpack Jetty file(jetty-6.1.25.zip), you should get the following file structure:
    JETTY DIRECTORY LAYOUT
    ================
    • bin                   utility scripts and executables
    • contexts        Deployment directory for context descriptors
    • contrib           Source modules for optional jetty packages in the jetty-contrib repository, which has a larger more open group of committers
    • etc                   Configuration files
    • examples      Example projects
    • extras             Source modules for optional jetty packages in the main jetty repository.
    • javadoc          Generated javadoc
    • lib                     Generated libraries
    • LICENSES      License
    • logs                  Request log and server log files
    • modules         Source modules for core jetty packages
    • patches           Optional patches for source modules
    • pom.xml         Build configuration for maven
    • project-website    Project Website
    • README.txt          This file
    • resources        Directory for resources to include on classpath
    • start.jar            Start jar for jetty
    • VERSION.txt         Version history
    • webapps                   Deployment directory for standard webapps
  3. Located into directory bin, double-click Jetty-Service.exe to startup Jetty(if you use older version, please use command “java -jar start.jar” to install and startup Jetty)
  4. In the internet browser enter the URL Enter http://localhost:8080/ to check we have installed Jetty successfully.
Related posts:

No comments:

Post a Comment