|
![]() |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
每周学一些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) ◆简朴、可伸缩的安全模型 返回类别: 教程 上一教程: Optimizeit Thread Debugger概览 下一教程: 对代理模式与Java动态代理类的理解 您可以阅读与"扬扬的J2EE学习笔记(二)J2EE的客户端/服务器"相关的教程: · 扬扬的J2EE学习笔记(四)Platform Services平台服务 · 扬扬的J2EE学习笔记(五)Installing J2EE SDK(安装J2EE SDK) · 扬扬的J2EE学习笔记(一)概述 · 扬扬的J2EE学习笔记(三)Components and Roles组件和角色2 · 扬扬的J2EE学习笔记(三)Components and Roles组件和角色 |
![]() ![]() |
快精灵印艺坊 版权所有 |
首页![]() ![]() ![]() ![]() ![]() ![]() ![]() |