Nov 21st, 2010, 05:39 PM
Implementing a custom annotation like @Transactional
So, I've just begun reading up on Aspects and AOP with Spring. After reading this article:
I've been playing around with it a bit.
Now, I'd like to be able to use aspects using a custom annotation - something like Springs @Transactional.
Would this be hard to implement? I cant seem to find
any good documentation on how to achieve this.
/best regards, Håkan - System developer in Sweden
Nov 22nd, 2010, 05:47 AM
Please, I really would like to try this out.
Nov 22nd, 2010, 11:00 AM
I'd suggest you start by looking at Spring source code and learn how <tx:annotation-driven/> and @Transactional work. This is not going to be an easy task.