Access mapped Spring class from unmapped Java class.

Can we access a spring-mapped class from a non-mapped plain Java class? How do we do this?
pratikbmAsked:
Who is Participating?
 
KuldeepchaturvediCommented:
A class is a class is a class..
you should be able to instanciate it by its name...
0
 
objectsCommented:
yes, you'd need to pass a reference to it or the app context
0
 
rama_krishna580Commented:
Yes you can do it .. look at this example..at the end..
http://dev2dev.bea.com/pub/a/2006/10/spring-jdbc-dao.html?page=last

R.K
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.