Disabling the server for Java  Writing the Java code

Chapter 2: Preparing for and Maintaining Java in the Database

Creating Java classes and JARs

The Sybase-supported classes from the JDK are installed on your system when you install Adaptive Server version 12 or later. This section describes the steps for creating and installing your own Java classes.

To make your Java classes (or classes from other sources) available for use in the server, follow these steps:

  1. Write and save the Java code that defines the classes.

  2. Compile the Java code.

  3. Create Java archive (JAR) files to organize and contain your classes.

  4. Install the JARs/classes in the database.





Copyright © 2005. Sybase Inc. All rights reserved. Writing the Java code

View this book as PDF