My goal is to use Debian linux as development platform for (classical – two tier) database (MySQL) applications. I thought that Java would be ideal for that purpose. Am I right? Is there better free tool (language) for development of such application that can run on both Linux and Windows? Are there any issues regarding Java's speed, printing or anything else that I should be aware of?
I googled and ran through couple of books and sites to see how to start and now I'm facing problem: how to structure application? I created a class named DataConn that reads connection parameters from XML file and than successfully connects to database. It's constructed as Singleton. I created object from that class on beginning of application. But now I don't know how to call that object (use created connection) from each new window (form) I open. My intention was to open connection to database at beginning of application and close it when application finishes. Is it good idea? I appreciate any help or recommendation for site or book that will help me solve this problem! -- Mirko Scurk