Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Anyone can is accessing the db.db through a DataServer in local mode?

 
Karl Fu
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic