Best Java / Grails Custom Notification Solution Architecture?

I am building a community site using Grails, and I want to implement user notifications just like stackoverflow.com . For example, a user will receive a notification about new events (“You have new comments,” “one of your favorites has changed” ...) either by email or in your inbox at any time when he returns to the site.

I believe this is a common problem and I would like to know that you are advising a simple solution on implementing the back-end in the Grails area. For example, is Java Messaging the recommended solution for this?

Thanks.

+7
java grails jms message-queue
source share
3 answers

IMHO number. The Java messaging service primarily performs asynchronous operations or queued operations.

You just need a user messaging system and notification. I do not know a single plugin that could do this out of the box.

I suggest you implement your own POGO messaging domain, tied to your user model, with the markAsRead flag.

If you want to integrate this with email, you can use JMS to decouple navigation and email / send. This is especially useful if you have a high traffic website / webapp

+4
source share

There seems to be a plugin for one that also uses the Grails mail plugin: http://grails.org/plugin/notifications
http://grails.org/plugin/mail

+1
source share

I used http://grails.org/plugin/mail and a background plugin . Not an “ideal” solution, but it uses the Grails ecosystem and does its job.

0
source share

All Articles