Added: websites/production/db/content/derby/integrate/plugin_help/nature_toc.html ============================================================================== --- websites/production/db/content/derby/integrate/plugin_help/nature_toc.html (added) +++ websites/production/db/content/derby/integrate/plugin_help/nature_toc.html Wed Dec 19 18:20:21 2012 @@ -0,0 +1,430 @@ + + + + + + + + +The Derby Nature + + + + + + + + + +
+ +
+apache > db +
+ +
+ + + + +
+Apache DB Project +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

The Derby Nature

+ + +

The Derby Nature

+
+

Enabling a nature for a project allows a plug-in to give a project a personality or characteristics it desires. By adding the Derby Nature to a specific project you are enabling the Derby features for that project.

+ +

Adding the Derby nature to a Java project

+

+Adding the Derby nature to a Java project +

+

The Derby jar files are added to the Java project and the project class path is automatically updated to include these jar files. All Derby features, like starting and stopping the Network Server, and running ij and sysinfo are enabled for the project.

+ +

Removing the Derby nature from a Java project

+

+Removing the Derby nature from a Java project +

+

All Derby jar files are removed from the project and all Derby features are disabled for the Java project.

+
+
+ +
 
+
+ + + Added: websites/production/db/content/derby/integrate/plugin_help/properties.html ============================================================================== --- websites/production/db/content/derby/integrate/plugin_help/properties.html (added) +++ websites/production/db/content/derby/integrate/plugin_help/properties.html Wed Dec 19 18:20:21 2012 @@ -0,0 +1,473 @@ + + + + + + + + +Setting Derby properties for a project + + + + + + + + + +
+ +
+apache > db +
+ +
+ + + + +
+Apache DB Project +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

Setting Derby properties for a project

+ + +

Setting Derby properties for a project

+
+

Properties relating to Apache Derby can be specified for any project which has had the Apache Derby nature added to it. The two categories of properties available to change are the Network Server and Derby System properties.

+

+Network Server Properties +

+

By starting the Derby Network Server using the default values the server runs on the localhost, which is the host running Eclipse, on port 1527.

+

The value used for the Network Server host name impacts the ability of remote hosts to connect to the Network Server. If the Network Server Host value in the Apache Derby Properties for the project is set to localhost, only clients running on the host where Eclipse is running can connect to the network server. If an ip address or hostname (other than the name 'localhost') is used, client applications running on other hosts can connect to the Derby Network Server. For additional information about starting the Derby Network Server see the Derby Server and Administration Guide. The section called Starting the Network Server explains the effect of setting the value for the hostname differently.

+

If connections from other hosts is allowed, it is recommended to run under the Java security manager and enable user authentication prior to starting the Derby Network Server.

+Network Server Settings +
    +
  • Network Server Port - default value of 1527
    +
    Valid values for this field are:
      +
    • Any port number not currently used by another process to listen on
      +
      +
    • +
    +
  • +
  • Network Server Host - default value of localhost
    +
    Valid values for this field are:
      +
    • localhost
    • +
    • The ip address of the host running Eclipse
    • +
    • The host name of the host running Eclipse
    • +
    • The ip address of 0.0.0.0 (to listen on all interfaces)
    • +
    +
  • +
+
+
+

+Derby System Properties +

+

+derby.system.home refers to the file system directory where the Derby database system will look for databases when Derby is started. Setting this property allows for ease of use when specifiying a JDBC connection URL to a Derby database which is not in the current directory. For additional information on derby.system.home refer to the Tuning Derby guide.

+

+Derby System Property values +

+
    +
  • derby.system.home - default value of '.', the current project directory
    +
    Valid values for this field are:
      +
    • A directory path on the local host. Either an existing directory or a new one which has not yet been created.
    • +
    +
  • +
+
+
+ +

Changing the default Apache Derby properties for a project

+
    +
  • With the Java project active in the Package Explorer or Navigator view, select the menu item Project, Properties.
  • +
+
+
+Project Properties
    +
  • The list of properties available to modify for the project appears. Select the Apache Derby item in the list.
    +
    +
  • +
  • Make any of the desired changes to the Apache Derby settings.
  • +
+
+
+Apache Derby project properties
+
+ +
 
+
+ + + Added: websites/production/db/content/derby/integrate/plugin_help/remove_nature.html ============================================================================== --- websites/production/db/content/derby/integrate/plugin_help/remove_nature.html (added) +++ websites/production/db/content/derby/integrate/plugin_help/remove_nature.html Wed Dec 19 18:20:21 2012 @@ -0,0 +1,423 @@ + + + + + + + + +Removing the Derby nature from a Java project + + + + + + + + + +
+ +
+apache > db +
+ +
+ + + + +
+Apache DB Project +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

Removing the Derby nature from a Java project

+ + +

Removing the Derby nature from a Java project

+
+

The Derby nature can be removed from a Java project from within the Java perspective. To remove the Derby nature:

+
    +
  • From the Java perspective, select the project in the Package Explorer view. Right-click the project to bring up the context menu and select the menu item, Apache Derby, Remove Apache Derby nature.
  • +
+Removing the Derby nature from a project

Removing the Derby nature from your Java project does the following:

+
    +
  • Removes the derby.jar, derbynet.jar, derbytools.jar, derbyclient.jar jar files from the Java Build Path of the project.
    +
    +
  • +
  • Removes the menu options for ij, sysinfo and starting and stopping the Derby Network Server.
    +
    +
  • +
  • Removes the Apache Derby item from the project's properties.
  • +
+
+
+ +
 
+
+ + + Added: websites/production/db/content/derby/integrate/plugin_help/resources.html ============================================================================== --- websites/production/db/content/derby/integrate/plugin_help/resources.html (added) +++ websites/production/db/content/derby/integrate/plugin_help/resources.html Wed Dec 19 18:20:21 2012 @@ -0,0 +1,412 @@ + + + + + + + + +Derby Documentation + + + + + + + + + +
+ +
+apache > db +
+ +
+ + + + +
+Apache DB Project +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

Derby Documentation

+ + +

Derby Documentation

+
+

Derby documentation can be found on-line at http://db.apache.org/derby/manuals/index.html.
+
+

+
+
+ +
 
+
+ + + Added: websites/production/db/content/derby/integrate/plugin_help/server_toc.html ============================================================================== --- websites/production/db/content/derby/integrate/plugin_help/server_toc.html (added) +++ websites/production/db/content/derby/integrate/plugin_help/server_toc.html Wed Dec 19 18:20:21 2012 @@ -0,0 +1,430 @@ + + + + + + + + +Starting and Stopping the Derby Network Server + + + + + + + + + +
+ +
+apache > db +
+ +
+ + + + +
+Apache DB Project +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

Starting and Stopping the Derby Network Server

+ + +

Starting and Stopping the Derby Network Server

+
+

The Derby Network Server for the host running Eclipse can be started and stopped within Eclipse. Multiple network servers can be started using this option by changing the port number the Derby Network Server listens on.

+ +

Starting the Derby Network Server

+

+Starting the Derby Network Server +

+

Multiple Derby Network Servers can be started on the host running Eclipse using this menu option. Additionally, the Derby Network Server can be started using the ip address of the host running Eclipse to allow remote client access to the network server.

+ +

Stopping the Derby Network Server

+

+Stopping the Derby Network Server +

+

Any Derby Network Server started from within Eclipse can be stopped using this menu option.

+
+
+ +
 
+
+ + +