emmanuel wrote:
ahem, so you use a proprietary API/configuration namely Interface21 Spring, to avoid having to use a standard API, namely JavaEE ;-)
Well, kind of ;-) Spring is used throughout the architecture. Having chosen one vendor lock-in doesn't open the door for the rest of the proprietary APIs, on the contrary.
It's not used as a alternative to JavaEE, it's used as to compliment JavaEE, and it's used as in a non-intrusive way.
The fact that my architecture uses Spring doesn't change the fact that JPA-style EntityListeners would be a nice feature in Hibernate Annotations. I would of course use Hibernate EntityManager (or another JPA PP) had it been possible in combination with EJB 2.1.