廣域 JNDI 樹狀結構中之 EJB 的 JNDI 名稱,可在 WebLogic 部署描述子中指定。 此規則會偵測 weblogic-ejb-jar.xml 檔中是否存在 <jndi-name> 元素。
weblogic-ejb-jar.xml<weblogic-ejb-jar> <weblogic-enterprise-bean> <ejb-name>MyBean</ejb-name> <jndi-name>/mybean</jndi-name> ... </weblogic-enterprise-bean> </weblogic-ejb-jar> |
在原始檔掃描器中,此快速修正程式會將 EJB JNDI 名稱從 weblogic-ejb-jar.xml 移轉至 WebSphere Traditional 或 Liberty 連結檔。或者,可以在 server.xml 中設定 Liberty 元素。