I guest not...
But using jboss-remote-naming programmer doesn't set or even see the selector, which get set autoamticall each time you create new InitialContext to call an EJB... :-)
remote-naming will be fixed soon.
If I can help with testing, let me know!
Radek Rodak wrote:
If I can help with testing, let me know!
I've just released 1.1.0.Alpha1 of org.jboss:jboss-ejb-client artifact https://repository.jboss.org/nexus/content/groups/public/org/jboss/jboss-ejb-client/1.1.0.Alpha1/ which contains the EJBCLIENT-34 feature. Like the version name suggests it's an Alpha version and although it's functional there's still a bit of work to be done to cover all cases. It hasn't been integrated in AS7 upstream yet and probably won't be for at least a week, so you won't be able to use this in AS 7.x server -> AS 7.x server EJB invocations. But that shouldn't stop you from using this from a remote standalone client applications and such, by just replacing the jboss-ejb-client jar from the client classpath with this new version.
Those of you who have been waiting for this, please use this new version and give it a try and see if it covers your use cases. Some of you know how to use this new feature but if you don't then take a look at this simple testcase https://github.com/jbossas/jboss-ejb-client/blob/master/src/test/java/org/jboss/ejb/client/naming/ejb/JNDIContextInvocationTestCase.java#L119 and see if it helps. I'll be writing up an article explaining this feature soon, so if you still need help in testing this, you can use that article as a reference.
Feel free to ask questions or report issues in this forum, but please create a separate thread with relevant information.