db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Gunnar Borstad <oleg...@stud.ntnu.no>
Subject Re: Embedding the database in a java application
Date Mon, 02 Jul 2007 13:53:59 GMT

I think this is what you're looking for:


Go to Activity 3 and study the example code.

- Ole Gunnar

Siterer Brandon Dohman <brdohman@eiu.edu>:

> I have recently written a small client/server program in java.  I   
> have the client connect to the server and send information back and   
> forth.  the server is on the same computer as the derby database,   
> and handles all the communication between the java code and the   
> derby database, ie: sql commands.  Currently i am starting derby   
> from inside the netbeans ide but would like to be able to have the   
> java code start the database, so that I can just run the jar file   
> w/out having to do things from inside netbeans all of the time.  I   
> have looked for a way to start the database from java code but have   
> been unsuccessful in finding it.  any help would be greatly   
> appreciated.
> Thanks

View raw message