-
May 24th, 2012, 04:39 PM
#1
Spring mvc 3, ejb 3 session stateless + jboss external jndi
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://ip
ort
</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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules