Notifier of any event that the user performs in the system

Asked

Viewed 59 times

1

I am using the Spring Framework for java and would like to create can create a kind of warning, <scan>, which shows in the table that a new line has been added (this line comes from the database), and when clicking on it disappears implying that the line has been seen, as if it were a Facebook notifier for example, but each user has his own, that is, to warn each one that there is a new line.

  • I suggest rewriting more clearly what your problem is and how you are trying to solve it, is very confused the way it is written.

  • And now ? I’ve changed

1 answer

1


I imagine you need to create something using aspects of Spring. More information here

With Aspectj, Voce can monitor some point in your application and perform processing before, during or after as per the @Before, @After, @Afterreturning...

This type of programming is widely used for application logs, but can be perfectly applied in your case.

With Aspectj configured, Voce can perform a @After action on its table row persistence method, and persist something in a user-associated warning table.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.