<context:annotation-config/>
<context:component-scan...
this is used for class that i need to annotated with @Repository @Service @Component...
<context:spring-configured />
<context:component-scan...
use if i need to use @Configurable
<tx:annotation-driven transaction-manager="transactionManager" />
<context:component-scan...
use if i need @Transactional , beside this what other metadata do I need to add in xml in order to use transaction management?
<bean
class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" />
what is the need to add this in xml ? for what purpose?