Common Operations in Java integrated development environment
1. Build a maven integrated development environment
1. Jetty Installation
(Including Windows and Linux versions, Jetty9 requires JDK 7): http://download.eclipse.org/jetty/
Jetty is easy to install. You only need to extract the installation package to start the Jetty service.
JETTY_VERSION=xxxwget http://download.eclipse.org/jetty/$JETTY_VERSION/dist/jetty-distribution-$JETTY_VERSION.tar.gztarxfz jetty-distribution-$JETTY_VERSION.tar.gzcd jetty-distribution-$JETTY_VERSIONjava-jar start.jar
Simple Jetty test (we use Jetty8 ):
The test. war module contains a dump Servlet that can view the Request/Session/Cookie information of the current Request. Http: // c909511: 8080/dump/info the returned information is rich. You can use this method to debug the current request information in the future:
Use Jetty as an Embedded Server
Jetty source code analysis
Jetty installation learning and demonstration
Install Jetty in Eclipse
Install Jetty in Linux (RedHat 5.8)
Install Jetty 9 on Ubuntu 14.10 Server (Java service engine and Web Server)
2. Integration of Jetty With Eclipse
1. Download the Eclipse tool:
Http://www.eclipse.org/downloads/download.php? File =/technology/epp/downloads/release/luna/SR1/eclipse-jee-luna-SR1-win32-x86_64.zip
2. Install the Jetty component
3. Configure Jetty
4. Start the Jetty service after the configuration is complete.
For more details, please continue to read the highlights on the next page: