JBoss7.1下EJB入门范例代码

前几天项目组用到JBOSS7与EJB3,中间出了很多问题。写个demo记录下。太晚了具体看福建吧。如果JBOSS限制用户访问可以在EJB客户端做下面的配置:

remote.connections=default
endpoint.name=client-endpoint
remote.connection.default.port=4447
remote.connection.default.host=localhost
remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
remote.connection.default.username=superboss
remote.connection.default.password=ab@#!%^&NOI

猜你喜欢

转载自cyhcheng-gmail-com.iteye.com/blog/1839495