【发布时间】:2014-01-16 11:52:22
【问题描述】:
我开始使用 Mule 3.4 及其 IDE。我必须将一些服务从 jBossESB 迁移到这个 Mule。其中一些称为 EJB3 的服务部署在外部 jBoss7 上,如下所示:
private ServiceInterface lookupRemoteEJB3Stateless() throws NamingException {
final Hashtable<String, String> jndiProperties = new Hashtable<String, String>();
jndiProperties.put(Context.URL_PKG_PREFIXES,"org.jboss.ejb.client.naming");
final Context context = new InitialContext(jndiProperties);
ServiceInterface myService = (ServiceInterface) context
.lookup("ejb://URI/ServiceRemote");
return myService;
}
另外,我在src/main/resources 中有一个jboss-ejb-client.properties 文件。
在 Mule 下我应该如何处理这个问题?只是在服务器之间复制代码是行不通的.. 谢谢!
【问题讨论】:
标签: ejb jboss7.x ejb-3.0 mule mule-studio