JBoss 7.1 上的 Seam 2.2 应用程序? [英] Seam 2.2 App on JBoss 7.1?

查看:18
本文介绍了JBoss 7.1 上的 Seam 2.2 应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经在 J​​Boss 5.1 上部署了我们的 JBoss Seam 2.2 应用程序,使用 PostgreSQL 作为数据库.它使用 EJB、JPA(Hibernate)、JSF(Richfaces 和 Primefaces)、Servlet 和 JMS 队列和主题.最近,我们决定将该平台迁移到 JBoss 7.1,以利用其较低的开销,并与技术变化保持同步.

We have deployed our JBoss Seam 2.2 application on JBoss 5.1 with PostgreSQL as the database. It makes use of EJBs, JPA (Hibernate), JSF (Richfaces and Primefaces), Servlets, and JMS queues and topics. Recently, we've decided to migrate the platform to JBoss 7.1 to take advantage of its lower overhead, as well as to keep in step with changes in technology.

是否可以在 JBoss 7.1 上运行 Seam 2.2 应用程序?我意识到 Hibernate/JPA 版本是不同的,我假设 JSF 版本也是如此.有没有办法弥补这一点?为了在此平台上运行它,我可能需要对我们的代码和配置进行哪些更改?

Is it possible to run Seam 2.2 applications on JBoss 7.1? I realize the Hibernate/JPA version is different, and I'm assuming the JSF version is as well. Are there ways to compensate for this? What changes to our code and configuration could I potentially have to make in order to run it on this platform?

推荐答案

简短的回答是,您可以将您的 Seam 2.2 应用程序迁移到 JBoss AS 7.

The short answer is yes you can migrate your Seam 2.2 app to JBoss AS 7.

主要挑战将是类加载,因为类加载是如何使用 AS 7 完全重新架构的.

The main challenge is going to be classloading because of how class loading is completely re-architected with AS 7.

我不想在这里完成所有步骤,我只想向您指出如何在其中一个示例应用程序(Seam Booking 应用程序)上完成此操作的官方文档.它提供了有关如何将 Seam 2.x 应用程序迁移到 JBoss AS 7 的分步指南,还指出了您将面临的一些问题以及如何处理这些问题.

Instead of me going through all the steps here I simply want to point you to the official documentation of how this was done on one of the sample apps (Seam Booking application). It provides a step-by-step guide on how you can migrate a Seam 2.x app to JBoss AS 7 and also points some of the issues you will face and how you can handle them.

指南位于这里.

其他有用的参考

  1. JBoss AS 7 类加载
  2. Seam 2 JPA 示例

祝你好运!

这篇关于JBoss 7.1 上的 Seam 2.2 应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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