I'm developing a simple prototype system for online booking of a doctors surgery.
Basically, the doctors can book in the times they are at a given surgery 48 hours in advance. Patients can then book slots according to surgery or doctor.
I'm using MySQL - and Java servlets (XML DOM to output HTTP response)
What i'd like advice on is the best way to construct the database and the best method of getting the dates / times from java to allow me to do this. The actual java manipulation i can do, its just the way in which i write the tables to best be able to allow this. I've never attempted dates and times etc and was wondering if any one had accomplished something similar with which they could give me their advice and tips for.
Thanks in advance
Relisys
Basically, the doctors can book in the times they are at a given surgery 48 hours in advance. Patients can then book slots according to surgery or doctor.
I'm using MySQL - and Java servlets (XML DOM to output HTTP response)
What i'd like advice on is the best way to construct the database and the best method of getting the dates / times from java to allow me to do this. The actual java manipulation i can do, its just the way in which i write the tables to best be able to allow this. I've never attempted dates and times etc and was wondering if any one had accomplished something similar with which they could give me their advice and tips for.
Thanks in advance
Relisys