文档介绍:上海交通大学
硕士学位论文
基于Oracle10g网格数据库开发高性能J2EE应用系统
姓名:杨达凡
申请学位级别:硕士
专业:计算机应用
指导教师:李治柱
20050101
基于 Oracle10g 网格数据库开发高性能 J2EE
应用系统
摘要
本文以上海-巴符州科技经济信息通道为基础实现了一个面向中国上
海和德国巴登符腾堡州两地中小企业高等院校和科研机构及政府部门使用的
经济科技信息平台该平台的目的是加强两地经济合作与科技文化的交流
通道是一个中英德三语平台她为用户提供了一个多语言的操作
环境使两地的用户可以很好的交流
该平台以 J2EE 规范作为开发框架使用 struts 框架作为 Web 层的开发框架
在 EJB 层本项目采用 JDO 技术整合在 Session Bean 中取代了 Entity Bean 并使
用了 Session Façade 的设计模式实践结果表明这种开发模式不但开发速度
快性能良好而且可移植性好代码可读性强
在此项目的基础上本文基于 Oracle 10g RAC 和 VMWare GSX 虚拟平台搭建
了一个双节点的数据库集群这是自 Oracle 10g 产品诞生以来在有限实验条件
下的一次大胆的尝试实验结果表明双节点的数据库集群不仅能向上层 J2EE
组件提供高性能的服务而且在节点出现故障的情况下能迅速的进行容错转移
(Fail Over) 保证了系统的稳定运行将上海-巴符州科技经济信息通道移
植到双节点集群后在服务器高压力的情况下系统响应速度明显改观而且系统
的可用性大大的提高了
关键词 J2EE JDO 数据持久化 Oracle 10g 数据库集群高可用
III
BUILD HIGH PERFORMANCE J2EE APPLICATION
BASED ON ORACLE 10G
ABSTRACT
Based on “Shanghai-Baden Württemberg Information Portal of Science
Technology & Economy”, this thesis implements a platform for users of middle and
small scale enterprises universities and research centers governments at Shanghai
and Baden Württemberg, The aim of this undertaking is to ensure a closer cooperation
of both regions in the fields of science and economy.
This portal is a three-lingual system, it offer users a multi-lingual operating
environment to make munications of users in China and Germany easier.
We make use of J2EE specification to build this system. Struts framework is used
in web layer, in EJB layer JDO is integrated with Session Beans instead of Entity
Beans, and session façade pattern is betaken. The result shows that this kind of
model has these merits: fast development process, good performance, good
portability, good readability.
A two-nodes database cluster is built based on Oracle 10g RAC and VMWare
GSX to optimize this system. This is an audacious attempt under limited conditions
since the birth of Oracle 10g. The result shows that two-nodes database cluster can
provide high performance