如何在 Wildfly 上设置不同的名称?
How can I set distinct-name on Wildfly?
我尝试从客户端到服务器的 EJB 调用,它们实际上是在同一台机器上相互复制的 ear
文件。
我想我必须在某个地方设置 "distinct-name",但我找不到它。
WildFly Developer Guide - EJB invocations from a remote client using JNDI:
distinct-name : This is a WildFly-specific name which can be optionally assigned to the deployments that are deployed on the server. More about the purpose and usage of this will be explained in a separate chapter. If a deployment doesn't use distinct-name then, use an empty string in the JNDI name, for distinct-name
“一个单独的章节”在哪里?
在jboss-app.xml(EAR) or jboss-ejb3.xml(WAR/EJB jar)中设置<distinct-name>
属性。
我尝试从客户端到服务器的 EJB 调用,它们实际上是在同一台机器上相互复制的 ear
文件。
我想我必须在某个地方设置 "distinct-name",但我找不到它。
WildFly Developer Guide - EJB invocations from a remote client using JNDI:
distinct-name : This is a WildFly-specific name which can be optionally assigned to the deployments that are deployed on the server. More about the purpose and usage of this will be explained in a separate chapter. If a deployment doesn't use distinct-name then, use an empty string in the JNDI name, for distinct-name
“一个单独的章节”在哪里?
在jboss-app.xml(EAR) or jboss-ejb3.xml(WAR/EJB jar)中设置<distinct-name>
属性。