I was wondering if anyone has recommendations on using transaction annotations in session facade interfaces or classes.
I was trying transaction annotations with JDK 1.5 and it seemed pretty logical to define them on session-facade interfaces, not in implementation classes, as this would automatically document the transaction demarcation within the interfaces API. But this causes the interfaces to depend on Spring API, which is not desirable, as this dependency is not required otherwise (and could require redundant deployment of spring libs on clients). Unfortunetely there's no common (JDK or other) API for transaction demarcation...
Please advice on best practices in this area.