免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1312 | 回复: 0
打印 上一主题 下一主题

j2ee 平台概述 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-20 15:21 |只看该作者 |倒序浏览
最近测试关于j2ee的东西.以前从没有做过关于java和j2ee(me,se) 的.
关于j2ee,感觉还是比较复杂, 是multi-tiered ,同一个层内的多个功能模块之间降低耦合度,方便开发和维护.
可以部署多台j2ee server应用不同应用服务(分开部署模块).

j2ee 平台主要是如下几个东西。


提供最基础的服务的就是 j2ee server。

相当于是地基。为下面的几个 container 提供服务。

Java EE Containers (感觉这个j2ee容器 , 是直接嵌入在j2ee server里,融合在一起, 并为其他得模块之间提供接口和基础的功能)
Java EE containers are the interface between the component and the lower-level functionality provided by the Java EE platform to support that component. The functionality of the container is defined by the Java EE platform, and is different for each component type. Nonetheless, the Java EE server allows the different component types to work together to provide functionality in an enterprise application.
The Web Container(interface between web components and the web server.有了这个,你才能用java 的技术来生成webpage,供客户浏览)
The web container is the interface between web components and the web server. A web component can be a servlet, a JSP page, or a JavaServer Faces page. The container manages the component's lifecycle, dispatches requests to application components, and provides interfaces to context data, such as information about the current request.
The Application Client Container(这个是部署在客户端的。如果不是通过browser的方式和j2eeserver 交互,则需要客户端安装这个。)
The application client container is the interface between Java EE application clients, which are special Java applications that use Java EE server components, and the Java EE server. The application client container runs on the client machine, and is the gateway between the client application and the Java EE server components that the client uses.
The EJB Container( interface between enterprise beans and the Java EE server , 这样使用j2ee server的服务的客户就可以与ejb模块交互,这样ejb模块才能被别人调用。)
The EJB container is the interface between enterprise beans, which provide the business logic in a Java EE application, and the Java EE server. The EJB container runs on the Java EE server and manages the execution of an application's enterprise beans.



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/40976/showart_2056294.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP