0 Replies Latest reply on Feb 24, 2010 3:01 AM by headiron

    How can I use JBoss AOP on jboss 4.0.2 ?

    headiron

      Hi.

       

       

      Today I try to use jboss AOP on jboss 4.0.2.

      I have some question about it.

       

      1. Is it support only POJO class or include EJB bean ?

       

          I want to use jBoss AOP to intercept some EJB call, but there isn't any article whether it is support ejb or not.

       

      2. Can I use interceptor on EJB3 using jboss 4.0.2?

          It seems that jboss4.0.2 support just J2EE1.4.

          If I want to use interceptor on EJB3 what version of jboss I use ?

        

       

      3. How can I use(use ) AOP on jboss 4.0.2 ?

          I download sample file from  http://docs.jboss.org/jbossas/jboss4guide/r3/jboss4guide.zip and build it( move to examples subfolder and build by ant ).

          After that I copy two files  (MortgageCalculator.war,  TrialLimitAspect.aop ) on examples/output/jbossaop/ folder to deploy folder on jboss server.

       

          I test it , but AOP function is not work.

          Do I need to do any step ?

         ( I attach above two files on this )

        

      Thanks

      Doochul