Announcement Announcement Module
Collapse
No announcement yet.
Injecting EJB3 local bean to Spring3 beans Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Injecting EJB3 local bean to Spring3 beans

    Hi
    I am using websphere7 , ejb3 , and spring3.2, and I am trying to inject a local Ejb bean into spring component in the web tier.
    I have no luck so far, if any body familiar with this situation please help, any link or sample code extc
    I am trying to use
    <jee:local-slsb id="myban" jndi-name="ejblocal:com.pp.AdminBeanLocal"
    business-interface="com.pp.AdminBeanLocal" />

    Thanks
    Philip

  • #2
    Hi
    I found my problem, my Spring bean are annotated and it get created first. Then I configured in application-context.xml since the beans are created, the conatiner not recreating from the config file, that is how the injection fails.I wrote a blog in java lobby forum.

    Comment

    Working...
    X