JBoss 应用服务器 7 中的接缝? [英] Seam in JBoss Application Server 7?

查看:25
本文介绍了JBoss 应用服务器 7 中的接缝?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JBoss AS 7 支持哪个 Seam 框架版本?我打算使用Seam2.2.2,是否兼容Jboss AS 7?

Which Seam framework version is supported in JBoss AS 7? I am planning to use Seam2.2.2, is it compatible with Jboss AS 7?

推荐答案

是和否.

如果你想象自己的 Seam 时间线,答案就来自一个人:

If you visualize yourself the timeline of Seam, the answer comes from alone:

  • Seam 2.x 旨在简化针对 Java EE 5 的开发,并作为未来标准(主要是 Java EE 6 和 JSF 2)的孵化器
  • Java EE 6 借鉴了 Seam 2(和其他)的想法来指定 CDI(并改进像 JSF 这样的 API)
  • Seam 3 为 Java EE 6 带来了新想法,并作为未来标准的孵化器,主要是 Java EE 7 和 JSF 2.x

是的,Seam 2 或多或少与 JBoss AS 7 兼容.为什么?因为 Java EE 6 向下兼容 Java EE 5.但是您必须处理一些问题,例如 this 和喜欢 那个.我刚刚将一个 Seam 2.x 应用程序从 JBoss AS 4 迁移到 JBoss AS 6,花了我一个月的时间.

Yes, Seam 2 is - more or less - compatible with JBoss AS 7. Why? Because Java EE 6 is downwards compatible with Java EE 5. But you will have to deal with some issues, like this and like that one. I just migrated a Seam 2.x application from JBoss AS 4 to JBoss AS 6, and it took me a good deal of a month.

不,不要将 Seam 2 用于新项目,不是在 2011 年.CDI 比 Seam 2 bijection 成熟得多,JSF 2 比 JSF 1.2 容易得多,所以使用 Seam 3 进行任何类型的应用程序开发都会变得更有趣.最后,一切都是为了在工作中获得乐趣,或者?

No, don't use Seam 2 for a new project, not in 2011. CDI is so much more mature than Seam 2 bijection, JSF 2 is so much easier than JSF 1.2, that any kind of application development will simply be much more fun with Seam 3. And at the end, it's all about having fun at work, or?

这篇关于JBoss 应用服务器 7 中的接缝?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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