Use Derby Version 10 as a backend database with application servers that are configured only for development and test purposes.
Migration tip: Cloudscape provides a tool to migrate Cloudscape Version 5.1.60.x to Derby. Download the tool and find more information at http://www-306.ibm.com/software/data/cloudscape/support/. Currently the following restrictions apply to use of Derby with WebSphere Application Server:
The WebSphere Application Server Supported hardware and software Web page, at http://www.ibm.com/software/webservers/appserv/doc/latest/prereq.html, provides up-to-date information on supported databases. If you have additional questions about support for Derby, contact IBM Support.
Derby enables the following two frameworks:
You must use the embedded framework if you are running XA. Network Server does not support XA.
The following steps describe how to configure and run the Network Server framework.
To start the Network Server, run the startNetworkServer.bat file, which is located in the WAS_HOME/derby/bin/networkserver directory. On UNIX platforms, the file is startNetworkServer.sh .
By editing other entries in the derby.properties file, you can enable other important capabilities, such as trace. You can also change the port number on which Network Server listens; the default port number is 1527.
Leave one property unchanged, however: The derby.drda.loadSYSIBM property in the derby.properties file controls whether a SYSIBM schema is created on the first connection to the database. Leave this property at the default value, which is true.
You can find this file in the WAS_HOME/derby/bin/networkserver directory. On UNIX platforms, the file is stopNetworkServer.sh .
Tip: Use ij as an alternative for the old Cloudscape cview tool, which does not exist in Derby.
Note: When you run ij, surround the dbname by double quotation marks (" ") if it includes the full path name; for example: ij> connect '"c:temp;create=true"'
This is ' " " ' without spaces.
The Derby Web site: http://incubator.apache.org/derby/index.html