• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Required escalation(email) to be introduced with shopping site

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Cob is sand, clay and sometimes straw. This tiny ad is made of cob:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic