Solved

Spring Dependency Injection in non-spring manged bean..

Posted on 2010-09-18
3
296 Views
Last Modified: 2012-08-13
Hi All,
I am quite new to Spring DI. We have two classes, PhysicalService and PhysicalDAO. Physical service instance is being created dynamically using some service handler, hence it is not spring managed bean. Physical DAO instance is managed by Spring Beans. Is there any way by which I can inject physical dao in physical service?
0
Comment
Question by:rakesh_nitj
3 Comments
 
LVL 20

Accepted Solution

by:
Sathish David  Kumar N earned 125 total points
ID: 33714231
You can define in the dispatcherservlet.xml
then you can create setter method in your class create construtor in ur class
0
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 36929496
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now