In PHP, event tracking occurs using the EventDispatcher class, which class to use for this in Java, only the awt and swing libraries come across. Or you can redefine these classes to handle events from graphic libraries and not bathe?
Source: https://ru.stackoverflow.com/questions/568007/
All Articles
триггеры бд. If just for the fact of the addition, add some class to the save method based on theobserverpattern, for example. Which will somewhere send the data / modifications. And there you can run for example someTaskExecutor, which will redirect this data after a time (for example, to mail, to log, etc.) - Chubatiy