独立 EJB 客户端需要哪些 JBoss 5.1 库? [英] Which JBoss 5.1 libraries I need for a standalone EJB client?

查看:20
本文介绍了独立 EJB 客户端需要哪些 JBoss 5.1 库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从 JBossAS 4.05 迁移到 JBoss 5.1,但我怀疑我需要在 EJB 独立客户端中更改哪些库.

I'm migrating from JBossAS 4.05 to JBoss 5.1, and I have doubt about wich libraries I need to change in my EJB standalone clients.

从 JBossAS 4.0.5 开始,我有一个直接的库列表,我需要在所有客户端中部署这些库.但是,在 5.1 版本中,一些库被更改或压制.

From JBossAS 4.0.5, I have a straight list of libraries that I need to deploy within all clients. But, in 5.1 version, some libraries was changed or supressed.

有人有一个专门用于访问远程 EJB 服务的直接列表吗?

Anybody have a straight list just for access remote EJB services?

推荐答案

根据...http://docs.jboss.org/jbossas/docs/Installation_And_Getting_Started_Guide/5/html/ch01.html#d0e525

1.5.3.jbossall-client.jar client/jbossall-client.jar 库用于捆绑大多数jboss 客户端库,现在是而是通过类路径清单条目.这允许交换包含的库(例如jboss-javaee.jar) 而不必重新打包 jbossall-client.jar.在另一方面,它要求你有jbossall-client.jar 与其他 client/*.jar 库,所以他们可以找到.

1.5.3. jbossall-client.jar The client/jbossall-client.jar library that used to bundle the majority of jboss client libraries, is now referencing them instead through the Class-Path manifest entry. This allows swapping included libraries (e.g. jboss-javaee.jar) without having to re-package jbossall-client.jar. On the other hand, it requires that you have jbossall-client.jar together with the other client/*.jar libraries, so they can be found.

查看这篇文章解决方案:

较新版本的 JBoss(我正在使用5.1.0 GA) 非常烦人地将所有客户端 jar 拆分为至少 47 个分开的罐子!这有点粗鲁当您考虑总人数时他们希望你复制到你的罐子里tomcat/lib 目录高达 93.

The newer versions of JBoss (I'm using 5.1.0 GA) very annoyingly have all the client jars split into at least 47 separate jars! Which is a bit rude when you consider the total number of jars they expect you to copy into your tomcat/lib dir is a whopping 93.

这篇关于独立 EJB 客户端需要哪些 JBoss 5.1 库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆