使用JPA而不是Hibernate设置JBoss Seam在GlassFish上运行有多容易?

时间:2021-01-16 19:59:23

Question pretty much says it all - I'm interested to find out about how to set up JBoss Seam on a GlassFish (v3 prelude) application server rather than JBoss. Also, I prefer JPA over Hibernate for persistance but it looks as though Seam has dependencies on Hibernate (or at least parts of it), has anyone got any experience with a stack like this?

问题几乎说明了一切 - 我有兴趣了解如何在GlassFish(v3 prelude)应用服务器而不是JBoss上设置JBoss Seam。另外,我更喜欢JPA而不是Hibernate,但看起来Seam依赖于Hibernate(或者至少是它的一部分),有没有人有过像这样的堆栈的经验?

1 个解决方案

#1


Seam does not require Hibernate, and the recent 2.x releases are tested and documented to work on other application servers.

Seam不需要Hibernate,最近的2.x版本经过测试和记录,可以在其他应用程序服务器上运行。

We have a Seam application that uses JPA, which was no problem to set-up. I do not use GlassFish, but the Seam manual has a section on deploying the JPA example on GlassFish, which sounds like what you need.

我们有一个使用JPA的Seam应用程序,设置没问题。我没有使用GlassFish,但是Seam手册中有一节介绍如何在GlassFish上部署JPA示例,这听起来就像你需要的那样。

#1


Seam does not require Hibernate, and the recent 2.x releases are tested and documented to work on other application servers.

Seam不需要Hibernate,最近的2.x版本经过测试和记录,可以在其他应用程序服务器上运行。

We have a Seam application that uses JPA, which was no problem to set-up. I do not use GlassFish, but the Seam manual has a section on deploying the JPA example on GlassFish, which sounds like what you need.

我们有一个使用JPA的Seam应用程序,设置没问题。我没有使用GlassFish,但是Seam手册中有一节介绍如何在GlassFish上部署JPA示例,这听起来就像你需要的那样。