3 Replies Latest reply on Jan 19, 2006 4:39 AM by alesj

    wiring EJB

    talkinjive

      Hi,

      I'm trying to wire a local stateless EJB to a servlet with Spring :
      BusinessLocal the localRemoteInterface
      BusinessHome the Home Interface
      Business the interface with methods to implement
      BusinessImpl the POJO implementation of Business
      BusinessEjb call the POJO, implements Business & extends AbstractStatelessSessionBean
      My EJB is deployed but my servlet doesn't see it (ejb not bound). :-(
      Here is my Spring wiring configuration file :






      <bean id="business" class="org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean"
      lazy-init="true">

      ejb/business


      true


      ejb.Business



      Have I forgot someting ?
      Tanx 4 help. :-)

        • 1. Re: wiring EJB
          talkinjive

          sorry for the configuration file : here it is :






          <bean id="business"
          class="org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean"
          lazy-init="true">

          ejb/business


          true


          ejb.Business

          • 2. Re: wiring EJB
            talkinjive

            here it is one more time :






            <bean id="business"
            class="org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean"
            lazy-init="true">

            ejb/business


            true


            ejb.Business

            • 3. Re: wiring EJB
              alesj

              Wrong forum.
              JBoss/Spring integration is about injecting Spring POJO beans into EJB3 enterprise beans.