Women in Technology

Hear us Roar



Article:
  Aspect-Oriented Programming and JBoss
Subject:   Pros and cons
Date:   2004-02-19 08:32:47
From:   fabcar
I read the article with a lot of interest.
I'm quite new at AOP and I find it a very interesting paradigm to solve some categories of problems without affecting your business logic. However I would also point out some of the disadvantages that I can see. First of all, less control on the behaviour of your classes. Second concern I have is security. AOP actually changes the behaviour of a class. In theory malicious developers could change the behaviour of any class as they like.
Also I may think of unit test. Your unit tests will be written against the class. Even if they pass, using the same class which has successfully been tested in an AOP framework, you could have results that are different from what you've tested. Is there anything to prevent those problems ?
Regards
Fabrizio
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Pros and cons
    2004-02-19 08:53:43  patriot1burke [View]


    On behavior control: You need to have tools to solve this issue. We have a management console for the in-JBoss mode so that you can view all applied advices at runtime. We will be working on IDE and standalone reports as well.


    I think we can address some of the security issues with signed jars and some of the built in security features of the VM.



    Bill