I have struts action classes that call EJB for database processing(update, search, add).

I would like to have some kind of maintenance functionality that keeps records of what users do with tables.

What is the best approach to that problem?

Should I create another maintenance action class that will be called from existing actions, should I do that processing in EJB by creating another helper class?

Is there any other approaches?

Any ideas are appreciated.

Thank you in advance.