Anyone can is accessing the db.db through a DataServer in local mode?
posted 16 years ago
In my spec, there is no specific requriements to locate the db file from the GUI. Did I miss it or you guys all have it in your spec ? I am trying to locate the db.db file and initialize it with my DataServer, bind it to the registry and keep it running. In the remote mode, I use rmi, in the local mode, the server act as a singleton agent and return the initiailized Data object. Any one have successfully implemented it this way ? I received an error for some reason when i try to return the Data object with an static method getDBReference() in the local mode. The object returned is not null, but cannot be used with the methods in the interface, Any thoughts ? Thanks in advance Karl