Thanks Bill for the reply.It got solved.but really i dont know the reason.
I have java project and web project bundled as Ear.In java project context i have defined <tx:annotation-driven /> and in web project i have defined <context:annotation-config />.
Actually Transaction was not active because i have defined <context:annotation-config /> and <tx:annotation-driven /> in different root context .
After moving both in single context it got worked.The transaction have become active.
Could you please explain me why transaction was not active when defined in different context.
This is a problem that crops up with only the <context:annotation-config/> tag. From the reference manual
Note that <context:annotation-config/> only looks for annotations on beans in the same application context it is defined in. This means that, if you put <context:annotation-config/> in a WebApplicationContext for a DispatcherServlet, it only checks for @Autowired beans in your controllers, and not your services
I prefer to use the component-scan tag which does everything this tag does (and more) and does not have this restriction.
In other words if you use this tag you must add it in every context it is needed.