wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes Required escalation(email) to be introduced with shopping site Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Required escalation(email) to be introduced with shopping site" Watch "Required escalation(email) to be introduced with shopping site" New topic
Author

Required escalation(email) to be introduced with shopping site

Mandar Velankar
Ranch Hand

Joined: Jul 31, 2006
Posts: 32
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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Mandar Velankar
Ranch Hand

Joined: Jul 31, 2006
Posts: 32
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Required escalation(email) to be introduced with shopping site
 
Similar Threads
Do you model Physical Things or Processes?
How to transfer a shopping cart session to fax
shopping cart or shopping memo?
Itinerary cart
problem with using session attributes