Announcement Announcement Module
Collapse
No announcement yet.
Listing a number of good uses of spring AOP Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Listing a number of good uses of spring AOP

    1. Performance monitoring by measuring the elapsed time of target method calls.
    2. Database transaction management.
    3. Printing out all input parameters of target method calls.
    4. Dynamic Exceptions handling (i.e. generating a email report when target exceptions are thrown)


    Can you think of more examples?

  • #2
    Take a look at Table of Content of my book (link in signature) as well as downloadable source code. You will find many new usages.

    -Ramnivas

    Comment


    • #3
      AOP is typically used for "cross cutting concerns". Anything that is a cross cutting concern is a use for AOP.

      All the things you've listed are crosscutting concerns.

      I'd suggest reading this:

      http://en.wikipedia.org/wiki/Aspect-...ed_programming
      http://www.developer.com/tech/articl...rogramming.htm

      Interestingly, the professor of my Software Engineering course in grad school worked with the original developer of AspectJ (http://en.wikipedia.org/wiki/Gregor_Kiczales) at PARC during his sabbatical in 1999-2001.
      Last edited by chudak; Jan 3rd, 2010, 03:30 PM.

      Comment


      • #4
        Originally posted by ramnivas View Post
        Take a look at Table of Content of my book (link in signature) as well as downloadable source code. You will find many new usages.

        -Ramnivas
        Would you post your link here. I could not locate your sig.

        Comment


        • #5
          Originally posted by zollen View Post
          Would you post your link here. I could not locate your sig.
          http://manning.com/laddad2

          Comment


          • #6
            In my spring-mvc application am using for following two purposes:
            • Audit Trail for portal user actions for some critical features
            • Masking some user data eg. SSN when exposed to portal/outside database

            Comment

            Working...
            X