软件体系结构复习 javaee

来源:互联网 发布:哈利波特成功原因知乎 编辑:程序博客网 时间:2024/05/07 00:46

javaEE 

一、基本概念

1.What is j2ee?

Open and standard based platform for developing, deploying(部署) and managing n-tier, Web-enabled(基于web), server-centric(以服务器为中心), and component-based(基于组件的) enterprise applications(企业应用程序);

2.Why j2ee?

Open and Standard Solution

Use "component and container" model in which container provides system services in a well-defined(明确的) and as industry standard
J2EE is that standard that also provides portability of code because it is based on Java technology and standard-based Java programming APIs(基于标准的java编程API)

 3.容器

(1). Which of the following is not true about J2EE containers?   (  c)
a. An EJB container manages the execution of all enterprise beans for a single J2EE application. Enterprise beans and their accompanying containers run on the J2EE server.
b. A web container manages the execution of all JSP and servlet components for a single J2EE application. Web components and their accompanying container run on the J2EE server.
c. An application client container manages the execution of all application client components for a single J2EE application. Application clients and their accompanying containers run on the J2EE server.
d. An applet container is the web browser and Java plug-in combination that runs on the client machine.
c.应用程序和他们的容器运行在客户端而非服务器   

  (2)The J2EE platform uses a multi-tiered distributed application model; which of the following is not considered (D)
a.Client tier
b.Web tier
c.Enterprise information system (EIS) tier
d.Security tier
答:不考虑安全层











原创粉丝点击