Announcement Announcement Module
Collapse
No announcement yet.
transactions, annotations and session facade Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • transactions, annotations and session facade

    hi,

    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.

    thanks,
    d
Working...
X