读书人

JBOSS 七创建客户端通过JNDI调用 EJB

发布时间: 2012-09-21 15:47:26 作者: rapoo

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
??

?

?

读书人网 >操作系统

热点推荐