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

    wiring EJB

    talkinjive Newbie

      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. :-)