Using EJB CMP 2.0 to implementing audit for database fields

P

Phoenix Silver

Hi

I'm using CMP EJB 2.0 on JBOSS 4. and we have the standard database
audit field columns,
'created_by','created_datetime','modified_by','modified_datetime'

Does anyone have an implemented solution using EJBS to demonstrate how
I would do this effeiciently. Right now we're not using any JAAS so I
pass a createdBy username to a single method that calls all of the
others setters for datetime and so on. I tried to use inheritance but
it didn't work at first and I didnt' have time to figure it out. If
anyone has an example of this that uses XDoclet as well this would be
really great.

Phoenix
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top