//Service is an interface which is marked like @Service("serviceObject") and the implementing class ServiceImpl has the method implementation..
alpesh helwatkar wrote: i tried printing the bean object
SOP(serviceObject);//this itself gives null!
alpesh helwatkar wrote:I am using Rational Software Architect built on eclipse for the same.
if it is not throwing an autowired exception that means that bean should be autowired!...
alpesh helwatkar wrote:i guess by adding this:@RunWith(SpringJUnit4ClassRunner.class) at the beginning of the class already makes sure that it is using JUnit 4!
i hope that is the correct approach...
do i have to explicitly create a bean in the spring-servlet.xml file? i did that too.. no use though.!!
serviceClass is an interface which is implemented by serviceClassImpl,whose methods i m trying to access
alpesh helwatkar wrote:many thanks for your help christopher!!