Results 1 to 3 of 3

Thread: Implementing a custom annotation like @Transactional

  1. #1
    Join Date
    Aug 2008
    Posts
    7

    Default Implementing a custom annotation like @Transactional

    Hi,

    So, I've just begun reading up on Aspects and AOP with Spring. After reading this article:

    http://www.javalobby.org/java/forums/t44746.html

    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

  2. #2
    Join Date
    Aug 2008
    Posts
    7

    Default Anyone?

    Please, I really would like to try this out.

  3. #3
    Join Date
    Jul 2010
    Location
    Venice, Italy
    Posts
    709

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •