Derby Network Server configuration

I need Start and keep up Derby Network Server. I use Derby first time in my project. I am developing now and using Embedded Derby drivers without any problem. But when program ready to distribution it should has Network/Client support. I begin investigate Network Server configuration because of this.

Following this article; I don't understand somethings. Let me ask it;

1-) Should i need set ClassPaths every time when Host start the program everytime via Command Prompt in Windows?

2-) I already add releated jar files to my Project as library. Should i distribute Derby bin release folder itself (about 33.7 MB) with my Project? (This question belongs to first question i think)


I seperate distrubution to two style. One of Server Setup, second of Client setup. I added whole jar files releated with derby to the project. These are stored in lib folder.

Differences;

Server Setup has extra one folder named "DB" . I added derby.jar - derbyclient.jar - derbynet.jar - derbyrun.jar to this folder too. When Server launches the program, go to DB folder and execute derbyrun.jar for set the CLASSPATHS every time. And boot the server.

When Server launches the program first time, Main Setup Window appear and user setup own credentials (LAN Ip, DB Name, Admin User Name&Password), execute derbyrun.jar and create the Database with given database name in DB folder.

Client Setup only have own lib folder. Because it not need start or stop derby database.

链接地址: http://www.djcxy.com/p/41244.html

上一篇: 德比分贝连接问题

下一篇: Derby Network Server配置