JBoss 6 EJB教程.jar

标签 jboss ejb-3.0

我正在从 JBoss 站点阅读 EJB 3.0 教程,我遇到了第三个教程,即 Transactions and Security .

这里有一段说:

In this particular example, the "other" domain is used. The "other" domain corresponds to a users.properties and roles.properties files that contain cleartext user, password, and user/role associations. If you open the built tutorial.jar file you will see these two files in there.

所以我在 JBoss 6 目录中搜索了我从 zip 中提取的 tutorial.jar,但没有找到。

本教程指的是 JBoss 4.0,所以我在 JBoss 4.2 安装目录中搜索了相同的内容,但还是没有找到。

有人可以帮我找到 tutorial.jar 吗?

更新:

好的,我从 here 找到了教程中使用的属性文件, 但还是找不到 tutorial.jar

最佳答案

我找到了 tutorial.jar 文件,但没有找到,但希望这可以帮助你......

在您的 jboss 根文件夹中检查角色的以下路径

jboss-6.0.0.20100429-M3\server\default\conf\props\jbossws-roles.properties

和用户

jboss-6.0.0.20100429-M3\server\default\conf\props\jbossws-users.properties

关于JBoss 6 EJB教程.jar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15547184/

相关文章:

java - 当 Eclipse 自动部署时,已部署的 War (JBoss) 的大小会增加。为什么会发生这种情况?

java - 如何从嵌入式 JAR 文件加载资源

Java,无状态 session bean

websphere - 配置 Quartz 作业以使用 EJBInvokerJob 调用 EJb

java - JBoss不同的lib目录

java - 用于传输文件的 jboss Web 服务

java - 使用 RichFaces 时是否可以避免模型和 UI 之间的紧密耦合?

java - 持久性实体的 GWT 反序列化 (JPA)

java - 服务未在启动时注册

java - 是否有用于添加 JBoss AS 6 支持的 NetBeans 插件?