Click to See Complete Forum and Search --> : Database Type Question


davey
06-25-2005, 03:14 AM
Here is what i want to do.
Have a java class(WDM_Database) and define in it a String[][] array.
Then i want to be able to read that array from a different class (WDM_Server). Is there a way to do this?

buntine
06-25-2005, 04:16 AM
You would normally pass it in the constructor or via some similar means of communication. It really depend how your application is constructed.

You can pass it via a argument in a method within the WDM_Server class. Or you could store the array as binary in a flat text file.

Regards.

davey
06-25-2005, 04:30 AM
http://207.255.54.239/public/WDM/

This is my code. Any help with the database part would be greatly appreciated.

buntine
06-25-2005, 05:09 AM
I'm getting a dead link... Is that your local server?

davey
06-25-2005, 05:53 AM
sorry its back up

davey
06-25-2005, 04:49 PM
hello i changed my code so that i would not run in to this problem thanks for your help anyway