Hi,

i have and ejb backend and spring mvc frontend.

the ejb is on a different server on jboss 5.1 server.
Jndi is external in jboss configurator :


<!-- Bind the /usr/local file system directory -->
<mbean code="org.jboss.naming.ExternalContext"
name="jboss.jndi:service=ExternalContext,jndiName= external/cec">
<attribute name="JndiName">external/cec</attribute>
<attribute name="Properties">
java.naming.factory.initial=com.sun.jndi.fscontext .RefFSContextFactory
java.naming.provider.url=jnp://iport
</attribute>
<attribute name="InitialContext">javax.naming.InitialContext</attribute>
</mbean>


How can i access to ejb from spring mvc 3 controller ?

@Ejb annotation doesn't works with remote call ?

Can i use a ServiceLocator service ?

thanks all