Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Implementing reminder in J2EE

 
Martin Lopez Ochoteco
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have to develop a J2EE application (JSF/MyFaces or Struts not sure yet) where certain tasks will be generated and assigned to users of the same app. When 'X' amount of time has passed (and this task is not completed) I want to send a reminder (maybe by e-mail) to this user.

What would be the best way to implement this? Is Quartz really worth to implement for this requirement? (I have never used this tool, so I have to learn it from scratch)
I guess this reminders must be persisted in a DB (the app will also use EJB), so when someone restarts the application or the server, the state is saved.

Thanks all in advance,
MLO.-
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use EJB timerservice http://docs.oracle.com/javaee/6/tutorial/doc/bnboy.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic