-
1. Re: How to remote to mdb in AS7
jbertram Jul 18, 2012 10:21 PM (in response to xin.zhang.song)1 of 1 people found this helpful -
2. Re: How to remote to mdb in AS7
xin.zhang.song Jul 23, 2012 1:30 AM (in response to jbertram)Got it!
BTW , I deploy EJB2.0 in as 7 , and then how can I got the home interface?
Thx Justin
-
3. Re: How to remote to mdb in AS7
jaikiran Jul 23, 2012 4:41 AM (in response to xin.zhang.song)Xin Zhang wrote:
BTW , I deploy EJB2.0 in as 7 , and then how can I got the home interface?
You can do a JNDI lookup for it. Is your client a remote application or part of the same application?
-
4. Re: How to remote to mdb in AS7
xin.zhang.song Jul 24, 2012 3:33 AM (in response to jaikiran)Is your client a remote application or part of the same application?
yes! our application developed by EJB 2.0, and now it need to migrate to JBoss as 7.1
yesterday I got the home interface with the JNDI,
the JNDI name look like this:
ejb:appName/moduleName/distinctName/beanName!homeInterface
But There still a question when I migrate to JBoss as 7.1
Question:When remote call EJB, remote host have been writen in jboss-ejb-client.properties file,
and now however I need temporarily write it in code instead of property file, could you give me a example with jboss-ejb-client.properties file.
jboss-ejb-client.properties:
remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false
remote.connections=default
remote.connection.default.host=localhost
remote.connection.default.port = 4447
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
-
5. Re: How to remote to mdb in AS7
xin.zhang.song Jul 26, 2012 8:49 PM (in response to xin.zhang.song)Can someone help me?