I'm new to sending notification from spring application.
Actually I've made a task management application. In that When a task is assigned to a particular person it should be notifed to that recipient. for that I've configured it as,
After submitting the task details will be persisted in database also notifications details are being persisted in a separate table. then
I'm querying the database which isn't marked as sent and sending them then I make them as sent. Is it best practice?
How actually a notification is sent. I more detail when do I need to send the notification? before inserting into database or after inserting into database? Please clarify this.
Also attach UML/Flow design for sending notification if you can.
Actually I've made a task management application. In that When a task is assigned to a particular person it should be notifed to that recipient. for that I've configured it as,
After submitting the task details will be persisted in database also notifications details are being persisted in a separate table. then
I'm querying the database which isn't marked as sent and sending them then I make them as sent. Is it best practice?
How actually a notification is sent. I more detail when do I need to send the notification? before inserting into database or after inserting into database? Please clarify this.
Also attach UML/Flow design for sending notification if you can.