IBM Books

Net.Data Language Environment Reference


Java Application Language Environment

Net.Data supports your existing Java applications with the Java language environment. With support for Java applets and Java methods (or applications), you can access DB2 through the Java Database Connectivity (JDBC**) API.

Details about JDBC are available from these Web sites:

The Java language environment provides a Remote Procedure Call (RPC)-like interface. You can issue Java function calls from your Net.Data macro file with Net.Data strings as parameters and your invoked Java function can return a string. You must use the Net.Data Live Connection when you use the Java language environment (see the performance chapter of Net.Data Administration and Programming Guide for more information about Live Connection). In order to use the Java language environment you must complete the following steps. These steps are described in detail in subsequent sections.

  1. Write your Java functions.

  2. Create a Net.Data cliette for all your Java functions (Net.Data cliettes launch the Java Virtual Machine where your Java function runs.

  3. Define a cliette statement in the Live Connection configuration file.

  4. Start Connection Manager.

  5. Run the Net.Data macro file that invokes the Java language environment.

Each time you introduce new Java functions, you must recreate the Java cliette.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]