Thanks Roel for your reply. Now is clear for me how can I use the getInstance method without any parameters.
Now I am working on the database layer and I hope to finish my assignment until January 2010 (my deadline). After reading some stuff(Head First OOAD, Head First Design Patterns,
SCJD Study Guide by Kathy SierraandBert Bates, Sun tutorials for Threads, RMI and the Adrew book) I decided to start designing my assignment. I have no experience in applications design so I am still confused, but finally I decided to start the job.
Thanks in advance to all ranchers that will guide me.