独立客户端的JBoss AS 7 Maven依赖项
我们有一个独立的桌面客户端,该客户端连接到JBoss服务器.对于JBoss的版本6,桌面客户端项目使用的maven依赖项是
We have a standalone desktop client that connects to a JBoss server. For version 6 of JBoss the maven dependency used by the desktop client project was
<dependency>
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-as-client</artifactId>
</dependency>
对于JBoss 7.1.1,不存在这样的依赖关系.开发独立的桌面客户端时应使用什么正确的Maven依赖项?
For JBoss 7.1.1 no such dependency exists. What is the correct maven dependency that should be used when developing a standalone desktop client?
如果直接连接到EJB,则需要EJB客户端库.在JBoss AS7的早期版本中,需要一堆单独的依赖项.可从7.1.1-Final
BOM(物料清单)开始(AFAIK):
If you directly connect to EJB you need the EJB client libs.In earlier versions of JBoss AS7 there were a bunch of individual dependencies required. Starting (AFAIK) from 7.1.1-Final
a BOM (bill of materials) is available:
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-ejb-client-bom</artifactId>
<version>7.1.1.Final</version>
<type>pom</type>
</dependency>
</dependencies>
您将在此处找到有关JNDI查找和调用方法的详细信息.
You will find here detailed information on JNDI lookups and invoking methods.