gpt4 book ai didi

jboss - JBoss 嵌入式/模块化服务器是否仍然存在?

转载 作者:行者123 更新时间:2023-12-01 06:45:57 25 4
gpt4 key购买 nike

在遵循 2007 年的“Java Persistence with Hibernate”一书中给出的一些关于 EJB 3.0 的示例时,我被告知要

转至 http://jboss.com/products/ejb3 , 下载模块化嵌入式
服务器

但我在那里只能看到一个名为“JBoss EJB3 Plugin 1.0.19”的插件,其中包含一些 jar。所以我不确定 2007 年的说明现在是否已经过时,因为这个插件显然不是服务器

基本上我想我需要的是某种轻量级的可嵌入 Jboss 容器。你能指出我正确的方向吗?还是我应该选择标准的 JBoss AS 6.0 版本?

该示例本身是关于一个简单的 HelloWorld 程序,它接受一个字符串消息并使用 EJB 3.0 将其写入数据库,没什么特别的,我还是个初学者。

谢谢

没关系:为了将来引用:找到一些答案访问

https://forum.hibernate.org/viewtopic.php?f=7&t=972608&start=0

最佳答案

Answer from Christian on hibernate forum:

Since the book has been released, the "JBoss embeddable EJB3 server" as described and used in the book has been deprecated. What is now available, "Embeddable JBoss application server", is not the same (although it looks similar at first).

You have two choices:

  1. Follow the book to the letter and download the old server, it is included in the CaveatEmptor/HelloWorld download (with all libs etc.) on http://caveatemptor.hibernate.org

  2. Drop that section of the book after reading it once and get started with the examples that come with the newer embeddable JBoss AS.

关于jboss - JBoss 嵌入式/模块化服务器是否仍然存在?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5368956/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com