J2E Application-related technologies

Source: Internet
Author: User

    • J2E Application-related technologies

The lightweight j2e application uses traditional JSP as the technology of the realizable layer, with a series of open-source frameworks as MVC layer, middleware, persistence layer solution, and organically combining these open-source frameworks, making the j2e highly scalable and maintainable.


Servlet,jsp,javabean: For now, pure servlets are seldom used, often using JSPs as presentation layers, that is, the page we say every day. Servlet and JSP are completely unified, the two operating principle in the bottom is exactly the same, in the actual operation, the JSP must be compiled by the Web server into a servlet, the Web server is actually running a servlet. In this sense, we can think of JSP as a draft file, the Web server generates a servlet based on the draft file, and a servlet that actually provides the HTTP service. Because JSP is only responsible for simple display logic, JSP cannot directly access the application's underlying state, J2E will choose to use JavaBean to transfer data.
Other layers: MVC layer, persistent layer, spring container here do not repeat, later on some of the popular core framework I will seriously tidy up, this later.


    • J2E Common servers
Common Web servers in the Java domain are open source and have good stability.
Common Web servers have the following 5:
Tomcat:tomcat and Java are well-integrated and are the official JSP servers recommended by Sun. This is also the most commonly used, as far as I am concerned in the development of the local, has been using Tomcat.
One of the biggest advantages of Jetty:jetty is that jetty can be used as an embedded server, that is, if a jetty jar file is added to the application, the application can provide services externally in the code.
Resin: Claims to be the fastest Jsp,servlet running platform, supporting EJB. This is going to cost money.
The following are also servers, compared to the above several of the following several appear more professional, they support more j2e features, such as distributed transactions, such as EJB container and so on.
JBoss: An open source j2e server that currently supports EJB technology.
WebLogic and Websphere:websphere before is I play server, actually also just do some basic operation, at most is through the CRT to connect was, generally in the Controller Dmgr page on the point on the good. This server compares NB, it supports load balancing internally, and the foreground webwas can be distributed to multiple was to do concurrency.
The common Web server is the above mentioned, generally for the lightweight j2e application, there is no need to use a very complex j2e server, using a simple Web server is enough.

J2E Application-related technologies

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.