Friday Jan 27, 2006

Today, Sun announce the release of  new J2EE 1.4 SDK which includes App Server Platform Edition 8.2 (SJSAS PE 8.2)

You can download this from http://java.sun.com/j2ee/1.4/download.html.

One the cool highlight of this release is the bundling of  Java based, Derby database.

To support the Derby database, two new CLI commands are added and they are:

  • start-database
  • stop-database

These two commands are executed using the CLI utility "asadmin".  This utility is located in the bin directory.

By default the database starts with the following values:

  • port = 1527
  • host = 0.0.0.0
  • derby database system directory = ".", the current project directory

You can alter these values by using the following options in start-database command:

  • --dbport
  • --dbhost
  • --dbhome

To learn more about Derby database, visit this site:

http://db.apache.org/derby/

Comments:

Post a Comment:
Comments are closed for this entry.