Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Required escalation(email) to be introduced with shopping site

 
Mandar Velankar
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am facing following problem with our shopping cart application.
Our organisation running one shopping cart site ,which is accessible on internet and intranet (within organisation).Problem is as follows,
We want to introduce escalation with our site.Requirement is that whenever
party books an order , it should be processed within 24 hrs of time span after booking time if it will not happen , system should send email reminder to corresponding authority.
Can anybody help me please?Can anybody has suggestions/ideas?
We are using tomcat 5.0.28 with microsoft windows server 2003 and sql server 2000 as database.

Thanks a lot. Waiting for your reply.

Regards,

Mandar Velankar
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mandar,
I'm going to move this thread to our Other Java APIs where JavaMail is discussed.

In the mean time, a Google search for 'JavaMail Tutorial" will probably get you moving in the right direction.
 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've written several utilities that are similar to what you describe. They monitor services, create periodic reports, check log files for errors, remind people who haven't taken required actions and so on. I usually just write a little Java program to directly query the db and send notifications via JavaMail (as Ben suggested). These programs are run at intervals (some hourly, some daily, some monthly) by cron on Solaris. If you are on Windows, look at "at". If you want an all-Java solution, there's java.util.Timer.
 
Mandar Velankar
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ben for moving my post in appropiate forum.

Thanks Joe, for good solution. It will definitely help me,
meanwhile I am not aware of java.util.timer package, it will
definitely help me a lot.
Thanks again.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic