欢迎光临
我们一直在努力

扬扬的J2EE学习笔记(二)J2EE的客户端/服务器-JSP教程,Java技巧及代码

建站超值云服务器,限时71元/月

每周学一些j2ee,作点笔记。

目标:能熟练使用websphere做j2ee的开发工作。

加油!加油!!加油!!!

图3 j2ee场景

图三里须注意的是:

1、tier integration is the center of the j2ee programming model.

2、用户使用browser方式访问:      1) browser:使用html,http,xml。可能经过防火墙      2) web container:使用jsp,servelet,xml,javamail      3) ejb container:使用back-end enterprise beans,jms,jta,jdbc(or connectors)      4) eis resources

3、用户使用stand-alone client方式访问:      1) stand-alone client使用j2se html http xml访问web container,可通过web container访问ejb container,再访问eis resources      2) stand-alone client可直接访问ejb container;也可直接访问eis resources      3) stand-alone client may be written in another language.stand-alone client是可以用其它语言编写的。      4) consider three types of stand-alone clients可以有三种类型的stand-alone client:            ※ ejb client interacting directly with an ejb server ejb客户端直接与ejb服务器交互            ※ stand-alone java application clients accessing enterprise information system(eis) resources directly(may using jdbc or connectors) stand-alone java程序客户端直接访问企业信息系统(eis),可能使用jdbc及连接器            ※ visual basic clients consuming dynamic web content  使用动态web内容的vb客户端                       ◎ in the form of xml data messages 以xml数据的形式

图4 以web为中心

图四里须注意的是:

1、以web为中心的结构下,此时没有ejb container

2、browser可使用技术与图三类似;但web container使用技术比图三少了个javamail

3、web容器可使用jdbc直接访问eis,以后也可能如图三般使用连接器connectors访问eis

图5 model-view-controller process

summary总结:

   ◆java 2 platform           ◆set of standards that streamline                  ●developent                  ●deployment                  ●management of enterprise application          ◆application written for the j2ee platform will run on any j2ee-compatible server   ◆ j2ee的优点:          ◆简易的开发模型          ◆兼容性好          ◆可支持已有的系统          ◆服务器多样性          ◆开发工具多样性          ◆元件多样性(components)          ◆简单、可伸缩的安全模型

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 扬扬的J2EE学习笔记(二)J2EE的客户端/服务器-JSP教程,Java技巧及代码
分享到: 更多 (0)

相关推荐

  • 暂无文章