Observer pattern suggestion
问题 I have three modules where user inserts some data using application , it is basically a j2ee application where user just creates information there are three modules .At the end of insertion i have create a status in table of the data and send email notificaiton , this is common to all the three modules , would it be better to user observer pattern here.If not what would be better?- 回答1: Better use one of the below approaches generally used for your case You can use Database triggers : http:/