javax.transaction.Transactional vs org.springframework.transaction.annotation.Transactional

Verstehe ich nicht, was ist der eigentliche Unterschied zwischen Annotationen javax.transaction.Transactional und org.springframework.transaction.annotation.Transactional?

Ist org.springframework.transaction.annotation.Transactional eine Erweiterung der javax.transaction.Transactional oder haben Sie völlig andere Bedeutung? Wann sollte jeder von Ihnen werden verwendet? Frühjahr @Transactinal im service-layer und javax in DAO?

Vielen Dank für die Beantwortung.

InformationsquelleAutor der Frage stamis | 2014-10-15

Schreibe einen Kommentar