I guess I should use JMS queue, Message Driven Bean, and Java Mail API. Client will send message to JMS queue, Message Driven Bean will listen to it and will send a mail through Java Mail API when message arrives in queue.
One more way is, client will directly send mail through Java Mail API when that event occurs. It doesn�t need JMS queue and MDB.
What you suggest?
posted 9 years ago
It seems like suitable requirement for Observer pattern but in my case, observer is a human.