Results 1 to 2 of 2

Thread: setting up jndi for ejb 3 in spring 3 configuration file.

Hybrid View

  1. #1
    Join Date
    Apr 2012
    Posts
    1

    Default 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. #2
    Join Date
    Oct 2012
    Posts
    3

    Default 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •