JBoss builds it's JNDI names this way: "EarName/BeanName/remote" or "EarName/BeanName/local", so in your sample it should be "EarName/myName/remote".
Take a look at the JNDI-View ( http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss%3Aservice%3DJNDIView)
to see the JNDI name of your bean.
Hope this helps
Thank you for your reply... I will test it out!
If you have a remote client, how do you specifiy which server to connet to?
Ie if I am running jboss and OC4J, how does it know to lookup jboss beans and not OC4J?