Java EE Learning Record (i)--software system architecture

Source: Internet
Author: User

1 Common software system architecture b/ S/C

1.1 C/S

L/C structure is client / server (client/server), such as QQ;

L need to write server-side programs, as well as client programs, for example, we installed QQ client program;

L Disadvantage: Software updates need to update both client and server side at the same time, more trouble;

L Advantages: good security.

1.2 b/S(* * * *)

L/b structure is browser / server (browser/server);

L Advantages: only need to write server-side programs;

L Cons: Poor security.

2 WEB Resources

2.1 Web Resource Introduction

L HTML: static resources ;

L Jsp/servlet: dynamic resources.

of course, except Javaweb Program, there are other Web programs, such as:ASP,PHP and so on.

2.2 static resources and static resource differences

2.3 accessing Web Resources

Open Browser, enter URL:

L Protocol name :// domain : port / path, for example:http://www.127.0.0.1.cn:80/ Index.html

3 Web server

The purpose of the WEB server is to receive the client's request and respond to the client.

for Javaweb program, but also need to have jsp/servlet container,jsp/servlet The basic function of the container is to convert dynamic resources into static resources, of course Jsp/servlet container not only these features, we will learn at the back of 1.1 points.

What we need to use is Web servers and jsp/servlet containers, which are usually gathered together. The following are the javaweb servers:

L Tomcat(Apache): Currently the most widely used javaweb server;

L JBoss(Redhat Red Hat): Support java EE, the application is relatively broad;EJB container

L GlassFish(orcale):Oracle development javaweb Server, application is not very wide;

L Resin(caucho): Support java EE, the application is more and more wide;

L Weblogic(orcale): For money! Support java EE, suitable for large projects;

Websphere(IBM): It's for money! Support java EE, suitable for large projects;

Java EE Learning Record (i)--software system architecture

Related Article

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.