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

查看:38
本文介绍了从 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 100% 向后兼容 JSF 1.1.唯一需要考虑的是 JSF 1.2 修复了许多非常多的错误.因此,如果您曾经错误地将某些特定的 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天全站免登陆