If you are embedding Derby, then regarding distribution you would follow the same procedure as for any other third party Java library.  If you want help doing that in Netbeans, then your question really should be addressed to the Netbeans mailing list.  To put it briefly:

 

  1. Edit your netbeans project’s settings, and add the derby jar to the list of libraries.
  2. When you build your project in netbeans, netbeans creates a directory called “dist” which contains your project’s jar, as well as all of the libraries needed by your project (in a subdirectory called “lib”).  You can just distribute the entire “dist” directory.

 

 


From: Max Ten [mailto:max.tenwl@gmail.com]
Sent: Thursday, February 16, 2006 5:02 PM
To: Derby Discussion
Subject: Re: Can I embedded Derby Dabase in Webapplication

 

thanks David,  i try to get wat you mean.

Anyway, i just found some tutorial bout connecting to Derby using Netbeans. Is there any tutorial for Derby distribution using Netbeans ?