当前位置:文档之家› 系统应用各种中间件的差异

系统应用各种中间件的差异

是否要删除文件头
“.”的信息
BEA WLS
getDate()
pageRowSet.getDate8()
V8
pageRowSet.getDate8()

只修改class不用重启,
struts-config.xml要和Action的Class
同时修改才生效,不用重启
系统应用各种中间件的差异
中间件/差异
OS
UTF8
文件格式,是否可加头标志
被include
的文件
是否要加
utf-8声明
更新被include文件是否会重新编译
语法差异
Ejb容器
Web容器
类是否统一
修改web.xml,
是否要启
服务才生效
修改了class文件,struts-config.xml
是否要启服务才生效

unix
不可


V7 pageRowSet.getDate()
pageRowSet.getDate8()
V8
pageRowSet.getDate8()

只修改class不用重启,
struts-config.xml和
和Action的Class
同时修改才不用重启

IBM WAS
win

Was5否
Was6是
tchbean.fun.ejbContext.appURL="jnp://127.0.0.1:1099"; // Jboss
TongWeb
tchbean.fun.ejbContext.isCluster=false; //是否应用于集群系统
tchbean.fun.ejbContext.appServer="TONGWEB";//应用于哪个应用服务器
tchbean.fun.ejbContext.gl_httpDownSavePath="/usr/bea/tch_app/httpdown"; //文件保存位置无/
WAS
tchbean.fun.ejbContext.isCluster=false; //是否应用于集群系统
tchbean.fun.ejbContext.appServer="WEBSPHERE";//应用于哪个应用服务器
tchbean.fun.ejbContext.appServer="WEBLOGIC";//应用于哪个应用服务器
tchbean.fun.ejbContext.appURL="t3://IP1:PORT1,IP2:PORT2"; //WEBLOigc集群
tchbean.fun.ejbContext.isCluster=false; //是否应用于集群系统
WAS5打补丁后IE使用6.0.2642版本可解决web访问卡住现象
附:文件统一使用utf-8编码,文件名统一使用小写命名。
Utf-8声明语法:
<%@page contentType="text/html;charset=UTF-8" language="java"%>
程序代码声明差异
中间件
wls
tchbean.fun.ejbContext.isCluster=true; //是否应用于集群系统
tchbean.fun.ejbContext.gl_httpDownUrl="http:// IP1:PORT1/httpdown";
//使用集群后下载只到一台机子下载
tchbean.fun.ejbContext.gl_httpDownSaveUrl="http:// IP1:PORT1/version/"; //上传位置/
tchbean.fun.ejbContext.appURL="127.0.0.1:1099"; // WEBSPHERE
Web应用在各中间件安装、部署、配置,调优
中间件
步骤
说明
BEAWLS
安装
1,
部署
1,部署WEB,EJB应用(在控制台部署)
A) tch_bea\card2Web\
该目录存放jsp,servlet程序文件(不能含httpdown目录),以目录方式发布,人口系统主应用程序,设置成服务主目录。
tchbean.fun.ejbContext.gl_httpDownSaveUrl_DB="http:// IP1:PORT1/version/"; //上传位置
tchbean.fun.ejbContext.gl_httpDownSavePath_Cluter="/usr/bea/user_projects/domains/mydomain/Server2/stage/httpdown/httpdown"; //集群中文件保存位置
tchbean.fun.ejbContext.appURL="iiop://127.0.0.1:2809/"; // WEBSPHERE
JBOSS
tchbean.fun.ejbContext.isCluster=true;
tchbean.fun.ejbContext.appServer="JBOSS";//应用于哪个应用服务器
tchbean.fun.ejbContext.appServer="WEBLOGIC";//应用于哪个应用服务器
tchbean.fun.ejbContext.appURL="t3://127.0.0.1:7001 "; //WEBLOigc
tchbean.fun.ejbContext.gl_webServiceUrl="http:/IP1:PORT1/tchserviceweb/services/dbService";
不会
要重新部署

unix

Was5否
Was6是
不会
要重新部署

JBOSS+TomCat
win




要修改web.xml
使其重新部署,不用重启

unix




要修改web.xml
使其重新部署,不用重启

东方通TongWeb
win




unix




金蝶Apusic
win



prs=rs.createCopy();用prs=rs.createShared();


unix





解决方法
避免中文乱码
Was可通过删除临时文件处理
统一使用
pageRowSet.getDate8()
.getSqlData8()
.getDateString()
针对Unix板WLS下的jsp用转换工具Utf8->
GBK在->UTF8
不能用记事本保存
各地版本用charset=UTF-8只有宜昌WLScharset=utf-8(防止javascript乱码)
相关主题