Announcement Announcement Module
Collapse
No announcement yet.
setting up jndi for ejb 3 in spring 3 configuration file. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • setting up jndi for ejb 3 in spring 3 configuration file.

    Can anyone help me setting up jndi for ejb 3 in spring configuration file.

    I have a stateless ejb 3 with remote and local interfaces and the bean implementation.
    How do i get the ejb instance through jndi in my spring classes.

    Thanks & Regards,
    John Varghese

  • #2
    Depends on J2EE container

    I have EJB3 in jboss EAP 4.3. I use jboss annotations for deploy:
    Code:
    org.jboss.annotation.ejb.LocalBinding
    org.jboss.annotation.ejb.RemoteBinding
    I use it in EJB:
    Code:
    @RemoteBinding(jndiBinding="ppe/ServeiPersones/remote")
    @LocalBinding(jndiBinding="ppe/ServeiPersones/local")
    When the EAR is deployed, JBoss found this annotations and deploy the EJB on JNDI.

    Comment

    Working...
    X