Jetty+resteasy implementation of embedded servlet server +rest Service

Source: Internet
Author: User

Jetty is an open-source servlet container that provides a running environment for Java-based web containers, such as JSPs and Servlets. Jetty is written in the Java language, and its APIs are published as a set of jar packages. Developers can instantiate a jetty container as an object that can quickly provide network and web connectivity for some Java applications that run independently (stand-alone).

Rest is representational state passing (English: representational, Transfer, or rest) is a software architecture style proposed by Dr. Roy Fielding in his doctoral dissertation in 2000. It is a design and development method for network application, which can reduce the complexity of development and increase the scalability of the system.

Resteasy is one of JBoss's open source projects and is a RESTful Web services framework. Bill Burke, Resteasy's developer, is also one of Jax-rs's standard-setting developers for Java EE. Jax-rs is a new standard developed by JCP to standardize the API for HTTP-based restful WEB services.

Stick to the Public Works directory structure diagram:

Attach source code: Http://files.cnblogs.com/files/francisyao/JettyEmbeded.zip

Jetty+resteasy implementation of embedded servlet server +rest Service

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.