简体   繁体   English

如果我在Weblogic 10.x上进行开发并部署到Weblogic9.2.x,会有多大的风险?

[英]How risky if I develop on Weblogic 10.x and deploy to Weblogic9.2.x?

Recently I took over a relative old project, which is running on weblogic 9.2. 最近,我接管了一个相对较旧的项目,该项目在weblogic 9.2上运行。 I need work on some change requests. 我需要处理一些变更请求。 I don't know much about weblogic product. 我对weblogic产品了解不多。

The old DEV-Env is windows based, however I dont have a windows machine. 旧的DEV-Env是基于Windows的,但是我没有Windows机器。 I tried to download Weblogic9.2 for linux (32bits), however I cannot find the link on Oracle website, after quite a lot google, still no working link found. 我尝试下载适用于linux(32位)的Weblogic9.2,但是在大量Google上搜索到Oracle网站后仍找不到该链接,但我无法在Oracle网站上找到该链接。

So the options for me: 所以对我来说,选择是:

  1. find out a working link, download weblogic9.2 and work with it 找到一个工作链接,下载weblogic9.2并使用它
  2. download and use the 10.x version from oracle 从oracle下载并使用10.x版本
  3. setup a windows box (we have the installer of weblogic9.2 for win) 设置一个Windows框(我们有win的weblogic9.2安装程序)

the 3 is the last thing I want to do. 3是我想做的最后一件事。 If someone knows where can I get the 9.2 version, it would be great. 如果有人知道我可以从哪里获得9.2版本,那就太好了。 If there is no weblogic9.2 available, can I work on weblogic10.x and release to 9.2 in production? 如果没有可用的weblogic9.2,我可以在weblogic10.x上工作并在生产中发布到9.2吗? how risky is it? 有多危险?

Developing in WLS 10.x and deploying in 9.2 may cause some trouble. 在WLS 10.x中进行开发并在9.2中进行部署可能会引起一些麻烦。

There are quite a no of features which have been upgraded in 10.x, such as Java 5 to 6, J2EE 1.4 to 5, Servlet 2.4 to 2.5, JSP 2.0 to 2.1, EJB 2.1 to 3.0. 10.x中没有很多功能已升级,例如Java 5到6,J2EE 1.4到5,Servlet 2.4到2.5,JSP 2.0到2.1,EJB 2.1到3.0。

While most of the features here do have backward compatibility, you have to be extra careful when you develop. 尽管此处的大多数功能确实具有向后兼容性,但是在开发时必须格外小心。

I would suggest to develop based on the lowest common denominator features only, and build on the same server you are deploying it to. 我建议仅基于最低的公分母功能进行开发,并在将其部署到的同一台服务器上构建。 (ie 10.x has a diff build, and 9.2.x has different one.) (即10.x具有差异版本,而9.2.x具有不同版本。)

EDIT: There seems to be a authentic binary available on PeopleSoft's FTP site . 编辑:在PeopleSoft的FTP站点上似乎有一个可靠的二进制文件

It's definitely a risk. 绝对有风险。 Different versions of Weblogic use different jars, so what works on 10.x may not work on 9.x. 不同版本的Weblogic使用不同的jar,因此,在10.x上有效的版本可能在9.x上无效。 It's a good practice to have your QA and PROD environments as similar as possible including node setup and startup variables. 最好让您的QA和PROD环境尽可能相似,包括节点设置和启动变量。

If your current PROD deployed code works on 10.x then I would upgrade your PROD environment to 10.x and continue your development on 10.x. 如果您当前的PROD部署代码可在10.x上运行,那么我会将您的PROD环境升级到10.x,然后继续在10.x上进行开发。 If not then do what you can to have 9.x on your DEV environment as well. 如果没有,那么您也可以在DEV环境上安装9.x。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM