3 Replies Latest reply on Feb 5, 2003 3:03 PM by catch23

    Javassist vs. BCEL for AOP Work

    reldev

      Just wondering if someone could explain briefly the choice of Javassist over BCEL as the bytecode modification package for the AOP work?

      Thanks.

        • 1. Re: Javassist vs. BCEL for AOP Work
          crazybob

          Absolutely. First off, Javassist can do anything BCEL can do. Second, Javassist has a number of convenience methods to facilitate such tasks as boxing and unboxing primitives, creating object arrays for arguments, etc. Third, Javassist has reasonable source-level abstraction, meaning that in most cases, you can pass it a String of Java source code rather than rolling your own byte code. Lastly, for what it's worth, Javassist was made with exactly this type of application in mind.

          • 2. Re: Javassist vs. BCEL for AOP Work
            belaban

            What about J-Orchestra ?

            • 3. 3761539
              catch23

              I thought J-Orchestra still uses BCEL to do its work? I'm not completely sure since it's been almost a year since I've touched JOrchestra stuff.