Jetty can be used to:
◆ a traditional web server to handle static and dynamic pages;
◆ a dedicated HTTP server most of the background to deal with dynamic pages, like Apache using mod_proxy;
◆ As a JAVA component embedded applications.
This flexibility means that Jetty can be used in a variety of occasions:
◆ box with the products, such as Tapestry, Liferay;
◆ CD-ROM with the book, the examples used to run;
◆ combined to provide HTTP transfer procedures, such as JXTA, MX4J;
◆ into JavaEE server as web containers, such as JOnAS, Geronimo, JBoss, JFox;
◆ applications as a component, such as Continuum, FishEye, Maven.
Jetty's guiding principle is "simple and uncomplicated." Easy to understand and use Jetty:
◆ through API or XML configuration files;
◆ XML document syntax POJOs directly in the operation of the API insinuate;
◆ the default configuration file can Jetty as a box (out-of-the-box);
◆ just a small number of rows that can be embedded on an instance of Jetty.
WEB2.0 in asynchronous types of applications the use of technologies such as AJAX, connecting to deal with retention time than a static page, thread and memory may be the rapid growth of demand.
The bottom must be refined to address these issues, a low speed may cause the database connection site paralysis, because the thread was filled. The use of Jetty ...
◆ services in high-strength low pressure loss performance;
◆ web in the existing normative framework, be able to handle large user loads, and ensure the continuity of a long conversation;
◆ integration of the existing cluster, for example, WADI and Terracotta
A lot of effort to optimize the code, the code that refined as little as possible loophole:
◆ less relevance as far as possible;
◆ to maintain a minimum core, optional add-on package functions;
◆ scalability is a key issue;
◆ attenuation performance of high-strength gentle.
Jetty is a very good component. This means that one can easily embed applications, applications without the need to adapt to it:
◆ the use-dependent injection and inversion of control mode
Jetty was constructed for
Insertion of Jetty built. All core components of the Jetty to allow different options to achieve, at least one or more components to achieve will always be provided. If they still can not satisfy your request, you are free to the preparation of the bottom interface and abstract class based on the most. This means that Jetty can easily be used in a particular application environment. When in a JavaEE server Jetty as web container, this is a very useful, Jetty of the insert and the host to ensure that its containers a closely integrated.
As this article to: http://bbs.163jsp.com/posts/list/427.html
Related Posts of What is Jetty About Jetty Project
In some special circumstances, we may be saved in the database connection information config.properties document, for example, make a install.jsp to modify config.properties documents, implementation of online information on the database configuration. At
Introduction: Model does not match (impedance mismatch) java object-oriented language, object model, its key concepts are: inheritance, association, polymorphism, etc.; database is the relational model, its key concepts are: tables, primary keys, for ...
All along, J2ee development process (in Struts + Hibernate + Spring as an example) are as follows: 1. Design Database 2. Generate database 3. From the project to establish database connection 4. Put the database reverse engineering to generate POJO 5 ...
<? xml version = "1.0" encoding = "UTF-8"?> <! - Name Project name basedir build.xml file directory -> <project name="HelloWorld" basedir="."> <! - Property variables -> <! - The sour ...
applicationContext.xml file content <? xml version = "1.0" encoding = "UTF-8"?> <beans xmlns = " http://www.springframework.org/schema/beans " xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance " ...
The use of hibernate, implementation of data persistence. Has the following several processes. One configuration database connection information. Hibernate.config 2 configuration mapping. 3 use: the use of the process are the following steps: 3.1: Ge ...
Servlet brief introduction: Servlet is a small application server Are used to complete the B / S architecture, the client requests the response to treatment Platform independence, performance, able to run thread Servlet API for Servlet provides the s ...
spring struts2.0 hibernate environmental structures .. despair carried out more than one hour only with good.
http://www.qqread.com/java/2008/06/f413762.html Look here. . Note added myeclipse support spring when necessary add the commons-dbcp database connection pool package. And to add hibernate support. . Finally add struts2 support. . Oh the lazy point. . . fu