从java 1.4迁移到EJB 1到EJB 3 [英] Migrating from java 1.4 ,EJB 1 to Java 6 and EJB 3

查看:109
本文介绍了从java 1.4迁移到EJB 1到EJB 3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 Java 1.4,
EJB 1.1
Weblogic 8.1
oracle 11g

我正在考虑将该项目迁移到 Java 1.6 EJB 3.0 Spring 3 with Hibernate 4 oracle weblogic 12



是否可以迁移该项目?



你能否建议我

解决方案

这是一个巨大的步骤,你要采取。



一般来说,Java在向后兼容中是相当不错的。



以下是Oracle列出的更改列表每个版本:





对于EJB,在EJB 1.1和EJB 3.0之间有很大的区别(我会推荐3.1),
确实需要调整,我将从这里



对于数据库,如果您将使用hibernate自动生成策略,您将不会遇到与之前的脚本有任何问题(我想象您有一个!) 。



对于应用程序服务器,我想像你刚刚安装的时候不会有问题,当然只要你测试你的项目迁移就可以了。 / p>

希望这有帮助。


I am working on very a old project ,the technologies used in that project are :

Java 1.4,
EJB 1.1
Weblogic 8.1
oracle 11g

I am thinking to migrate that project to Java 1.6 ,EJB 3.0 or Spring 3 with Hibernate 4 ,oracle weblogic 12.

Can it be possible to migrate that project or not?

Could you please suggest me the possible steps I need to follow to acheive this.

解决方案

Well it's a huge step you are about to take.

In general, Java is fairly good in being backwards compatible.

The following is a list of changes that Oracle has listed for each release:

As for the EJB, There are big differences between EJB 1.1 and EJB 3.0 (I would recommend 3.1), which indeed need to be adjusted, I would start from here.

As for the database, If you will use the hibernate auto generate strategy, you wouldn't have problems with the script you had before (I imagine you had one !).

As for the application server, I imagine you would not have problems with it if it's freshly installed, of course as long as you are testing you project migration on it.

Hope this helps.

这篇关于从java 1.4迁移到EJB 1到EJB 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆