📜  jboss-ejb-client.propeties 配置示例 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:40.050000             🧑  作者: Mango

代码示例1
// Configure  EJB Client properties for the InitialContext
Properties ejbClientContextProps = new Properties();
ejbClientContextProps.put(“remote.connections”,”name1”);
ejbClientContextProps.put(“remote.connection.name1.host”,”localhost”);
ejbClientContextProps.put(“remote.connection.name1.port”,”4447”);
// Property to enable scoped EJB client context which will be tied to the JNDI context
ejbClientContextProps.put("org.jboss.ejb.client.scoped.context", “true”);