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

发布于 2024-10-25 00:07:37 字数 674 浏览 3 评论 0原文

在遵循 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 将其写入数据库,没什么花哨的,我还是一个初学者。

thx

没关系:为了将来的参考:要找到一些答案,请访问

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

While following along some examples about EJB 3.0 given in the book "Java Persistence with Hibernate" from 2007 I was told to

Go to http://jboss.com/products/ejb3, download the modular embeddable
server

But all I can see there, is a plugin called "JBoss EJB3 Plugin 1.0.19" that contains some jar's. So I'm not sure whether the instructions from 2007 may not be outdated by now, since this plugin is obviously not a server

Basically I guess what I need is some sort of a lightweight embeddable Jboss container. Can you please point me into the right direction? Or should I just go for the standard JBoss AS 6.0 release?

The example itself is about a simply HelloWorld program that takes a string message and writes it out to the database using EJB 3.0, nothing fancy, I'm still a beginner.

thx

Never mind: for the sake of future reference: to find some of the answers visit

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

青巷忧颜 2024-11-01 00:07:37

来自 Christian 在 hibernate 论坛上的回答:

自本书发布以来,“JBoss 嵌入式 EJB3 服务器”
书中描述和使用的内容已被弃用。现在是什么
可用,“嵌入式JBoss应用服务器”,是不一样的
(虽然乍一看很相似)。

你有两个选择:

  1. 严格按照本书的要求下载旧服务器,它包含在 CaveatEmptor/HelloWorld 下载中(包含所有库等)
    http://caveatemptor.hibernate.org

  2. 读完本书后,请放弃该部分,开始使用较新的嵌入式 JBoss AS 附带的示例。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文