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

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

问题描述

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



是可能在JBoss 7.1上运行Seam 2.2应用程序?我意识到Hibernate / JPA版本是不同的,我假设JSF版本也是如此。有办法补偿吗?我们的代码和配置有什么变化,我可能需要为了在这个平台上运行它?

解决方案

是的,您可以将您的Seam 2.2应用程序迁移到JBoss AS 7。



主要的挑战是要加载类,因为如何将类加载与AS 7完全重新构建



而不是我经历所有这些步骤,我只想指出一下如何在一个示例应用程序上完成的官方文档(Seam Booking应用程序)。它提供了一个关于如何将Seam 2.x应用程序迁移到JBoss AS 7的分步指南,并指出了您将面临的一些问题以及如何处理这些问题。



该指南位于这里



其他有用的参考


  1. 一个href =https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7> JBoss AS 7 Classloading

  2. 接缝2 JPA示例

祝你好运!


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.

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?

解决方案

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

The main challenge is going to be classloading because of how class loading is completely re-architected with 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.

The guide is located here.

Other useful references

  1. JBoss AS 7 Classloading
  2. Seam 2 JPA Example

Good luck!

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

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