扬扬的J2EE学习笔记(二)J2EE的客户端/服务器
2005-04-07 18:38
537 查看
每周学一些J2EE,作点笔记。
目标:能熟练使用Websphere做J2EE的开发工作。
加油!加油!!加油!!!
图3 J2EE情景模式
图三里须注意的是:
1、Tier integration is the center of the J2EE programming model.
J2EE编程模式的中心思想是多层集成。
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)
◆简单、可伸缩的安全模式
目标:能熟练使用Websphere做J2EE的开发工作。
加油!加油!!加油!!!
图3 J2EE情景模式
图三里须注意的是:
1、Tier integration is the center of the J2EE programming model.
J2EE编程模式的中心思想是多层集成。
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)
◆简单、可伸缩的安全模式
相关文章推荐
- 服务器渲染和客户端渲染学习笔记
- ubuntu-11.10-server-i386学习笔记-SVN版本服务器-客户端测试
- 学习笔记TF022:产品环境模型部署、Docker镜像、Bazel工作区、导出模型、服务器、客户端
- ubuntu-11.10-server-i386学习笔记-SVN版本服务器-客户端测试
- ActiveMQ学习笔记01 - 客户端与服务器之间的传输连接
- 【代码笔记】Java深入学习——实现客户端发送文件到服务器的文件传输
- <JAVA>学习笔记10>——多个客户端连接服务器
- node.js在windows下的学习笔记(5)---用NODE.JS创建服务器和客户端
- Android 学习笔记(一)(客户端、服务器socket通信教程)
- Java学习笔记(一)------服务器&客户端一对一通信小程序实现(TCP)
- 【UNP学习笔记】一个简单的服务器/客户端程序
- C#学习笔记-socket通信(同步,客户端+服务器,TCP)
- 【Java学习笔记】60:客户端PC-后端程序服务器-数据库服务器之间的通信demo
- 扬扬的J2EE学习笔记(一)概述
- 扬扬的J2EE学习笔记(四)Platform Services平台服务
- 扬扬的J2EE学习笔记(五)Installing J2EE SDK(安装J2EE SDK)
- Thrift C++ 服务器和客户端开发实例--学习笔记
- 扬扬的J2EE学习笔记(三)Components and Roles组件和角色
- node.js学习笔记之创建UDP服务器与客户端
- j2ee核心模式笔记一——控制客户端访问服务器资源的方法