Hi,
Ok I really shud ask this at ibatis forum but since
many here seem to work with ibatis, i give it a shot 
here.

How do I register some kind of listener with ibatis
so that if data in a table, say, Users, change, 
ibatis will notify struts application?

The scenario I am trying to solve is when a logged
in admin is managing users, I wud like my application
to be notified of changes made by other also logged
in admin, so my struts code can issue a new call
to ibatis to get fresh data to show the admin.

I guess the other way of solving this problem is to
deny other admin trying to change table when another admin has
logged in before him. Can I do this kind of thing
with ibatis or is this something I have to do on
Struts code?

What's the usual practice of showing the number of
users and who is currently logged in a Struts 
application?

I can think of writing a class with public static
int variable and a List variable, whenever a user logged 
in, +1 to int var, add username to List. Doing opposite
if user log out, dunno if that's how u ppl do it.

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to