JBOSS 7创建客户端通过JNDI调用 EJB
JBOSS 6,7调用通过JNDI查找EJB的方法和JBOSS5不一样。
?
JBOSS 5
?
?
?In AS7, for remote access to EJBs, you use the ejb: namespace with the following syntax:
remote.connections=one, two remote.connection.one.host=localhostremote.connection.one.port=6999remote.connection.one.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false remote.connection.two.host=localhostremote.connection.two.port=7999remote.connection.two.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false???
?