I know that with JBOSS AS7 exist two ways remote EJB invocations: via JNDI-EJB client API or remote-naming project. All the examples that I've read uses EJB client API to invoke from a remote standalone client and the remote-naming project to call ejb from another remote JBoss instance.
Are the EJB client API used only by a remote standalone client?
Moreover I don't understand why to call EJB from another JBoss server requires a remote configuration at application server scope (several settings on standalone.xml) and not at single application scope?
I believe that I missing something, could someone explain clearly the topic?