Announcement Announcement Module
Collapse
No announcement yet.
struts webapp+EJBProject+spring in netbeans5.5 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • struts webapp+EJBProject+spring in netbeans5.5

    Hi,

    i am new to spring and EJB.In my web application access slsb from EJBProject to webapplication through sprring xml in web application.

    <bean id="myComponent" class="org.springframework.ejb.access.LocalStatele ssSessionProxyFactoryBean">
    <property name="jndiName" value="myComponent"/>
    <property name="businessInterface" value="Mains.AccountHome"/>
    </bean>

    <bean id="myController" class="Data.Impl.EmployeeDAOImpl">
    <property name="myComponent" ref="myComponent"/>
    </bean>

    in this

    <property name="businessInterface" value="Mains.AccountHome"/>

    "Mains.AccountHome" it is in EJBProject,the xml file is in my web application.i getter setter the property "mycomponent" in my IMplementation("Data.Impl.EmployeeDAOImpl") it is in web application.

    getter setter property,

    private AccountHome myComponent;

    but i can't import the interface "AccountHome" in my web application because it is in another EJBProject.how to access the ejb beans

    can anybady help me please!

    Thanks in advance
    Mahe
Working...
X