2 Replies Latest reply on Jul 30, 2002 3:52 PM by adrian.brock

    Logging Bean Access

    runningboy

      I am writing a J2EE application that will keep track of all the client accounts at my company. I would like to be able to log all the times a bean is created and who created them. This I can do be modifying ejbPostCreate(). I would also like to provide a way to track who last edited a bean's values. In my mind this would mean logging all the calls to a beans set methods. Is there a way to do this? For instance could I use the LogInterceptor? If so does anyone have any idea how it works? I haven't been able to find much documentation, at least none specific enough to know if it is the correct place to log the information I would like to collect. Any advice would be cool!

      Thanks!

      -Mark