We have a web application developed in JSPs. We have to perform audit trail for every changed field in the screen. The audit table should contain the following columns: unique_id, old value, new value, name of the screen field, last updated date, last updated user. Kindly suggest some design patterns and best practices for such auditing.
Note: we are currently trying using the filter pattern to intercept the requests from JSPs and audit in the tables. We do not need the DB trigger based auditing as the screen field name is different from DB column name. We have to audit based on the screen field names.
Thanks in advance, Rajanikanth