从JSF 1.1迁移到JSF 1.2 [英] Migrating from JSF 1.1 to JSF 1.2

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

问题描述

有人可以告诉我在将应用程序从JSF 1.1迁移到JSF 1.2之前需要记住什么吗?

Can anybody tell me what things I need to keep in mind before migrating an application from JSF 1.1 to JSF 1.2?

推荐答案

真的不多. JSF 1.2向后兼容JSF 1.1.您只需要考虑JSF 1.2修复了很多非常多的bug的事情.因此,如果您曾经错误地将某些特定的JSF 1.1应用程序行为假定为正常"行为,但实际上是由错误引起的,那么它似乎会崩溃.

Not much, really. JSF 1.2 is 100% backwards compatible with JSF 1.1. Only thing which you need to take into account that JSF 1.2 fixes many, really many bugs. So if you ever incorrectly assumed some specific JSF 1.1 application behavior as "normal" behavior, but which is under the covers actually caused by a bug, then it would seemingly break.

无论如何,只需在升级前后运行单元测试,然后分别解决问题即可.

In any case, just run unit tests before and after the upgrade and fix the issues individually.

这只是从JSF 1.x迁移到2.x,这需要做更多的工作,确定您是否还需要将视图技术从JSP更改为Facelets.为此,请参考以下答案:从JSF迁移1.2至JSF 2.0 .

It's only migrating from JSF 1.x to 2.x which requires more work, for sure if you also need to change the view technology from JSP to Facelets. For that, refer this answer: Migrating from JSF 1.2 to JSF 2.0.

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

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