-
Mar 3rd, 2013, 06:14 PM
#1
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
-
Mar 4th, 2013, 04:17 PM
#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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules