![]() | ![]() |
Home |
|
|
Java in Adaptive Server Enterprise |
|
| About This Book |
This book describes how to install and use Java classes and methods in the Sybase® Adaptive Server® Enterprise database.
This book is for Sybase System Administrators, Database Owners, and users who are familiar with the Java programming language and Transact-SQL®, the Sybase version of Structured Query Language (SQL).
This book will assist you in installing, configuring, and using Java classes and methods in the Adaptive Server database. It includes these chapters:
Chapter 1, "An Introduction to Java in the Database" provides an overview of Java in Adaptive Server, including a Questions and Answers section for both novice and experienced Java users.
Chapter 2, "Preparing for and Maintaining Java in the Database" describes the Java runtime environment and the steps for enabling Java on the server and installing Java classes.
Chapter 3, "Using Java Classes in SQL" describes how to use Java-SQL in your Adaptive Server database.
Chapter 4, "Data Access Using JDBC" describes how you use a JDBC driver (on the server or on the client) to perform SQL operations in Java.
Chapter 5, "XML in the Database" describes how you can use Java to access Extensible Markup Language (XML) documents from an Adaptive Server database.
Chapter 6, "Debugging Java in the Database" describes how you use the Sybase debugger with Java.
Chapter 7, "Reference Topics" provides information about datatype mapping, Java-SQL syntax, and other useful information.
In addition, a glossary provides descriptions of Java and Java-SQL terms used in this book.
The following documents comprise the Sybase Adaptive Server Enterprise documentation:
The Release Bulletin for your platform - contains last-minute information that was too late to be included in the books.
A more recent version of the Release Bulletin may be available on the World Wide Web. To check for critical product or document information that was added after the release of the product CD, use SyBooks(TM)-on-the-Web.
The Adaptive Server installation documentation for your platform - describes installation and upgrade procedures for all Adaptive Server and related Sybase products.
What's New in Adaptive Server Enterprise? - describes the new features in Adaptive Server release 12.0, the system changes added to support those features, and the changes that may affect your existing applications.
Transact-SQL User's Guide - documents Transact-SQL", Sybase's enhanced version of the relational database language. This manual serves as a textbook for beginning users of the database management system. This manual also contains descriptions of the pubs2 and pubs3 sample databases.
System Administration Guide - provides in-depth information about administering servers and databases. This manual includes instructions and guidelines for managing physical resources, security, user and system databases, and specifying character conversion, international language, and sort order settings.
Adaptive Server Reference Manual - contains detailed information about all Transact-SQL commands, functions, procedures, and datatypes. This manual also contains a list of the Transact-SQL reserved words and definitions of system tables.
Performance and Tuning Guide - explains how to tune Adaptive Server for maximum performance. This manual includes information about database design issues that affect performance, query optimization, how to tune Adaptive Server for very large databases, disk and cache issues, and the effects of locking and cursors on performance.
The Utility Programs manual for your platform - documents the Adaptive Server utility programs, such as isql and bcp, which are executed at the operating system level.
Error Messages and Troubleshooting Guide - explains how to resolve frequently occurring error messages and describes solutions to system problems frequently encountered by users.
Component Integration Services User's Guide for Adaptive Server Enterprise and OmniConnect - explains how to use the Adaptive Server Component Integration Services feature to connect remote Sybase and non-Sybase databases.
Using Sybase Failover in a High Availability System - provides instructions for using Sybase's Failover to configuring an Adaptive Server as a companion server in a high availability system.
Using Adaptive Server Distributed Transaction Management Features - explains how to configure, use, and troubleshoot Adaptive Server DTM Features in distributed transaction processing environments.
Adaptive Server Glossary - defines technical terms used in the Adaptive Server documentation.
Use the Sybase Technical Library CD and the Technical Library Product Manuals web site to learn more about your product:
Technical Library CD contains product manuals and technical documents and is included with your software. The DynaText browser (included on the Technical Library CD) allows you to access technical information about your product in an easy-to-use format.
Refer to the Technical Library Installation Guide in your documentation package for instructions on installing and starting Technical Library.
Technical Library Product Manuals web site is an HTML version of the Technical Library CD that you can access using a standard web browser. In addition to product manuals, you'll find links to the Technical Documents web site (formerly known as Tech Info Library), the Solved Cases page, and Sybase/Powersoft newsgroups.
To access the Technical Library Product Manuals web site, go to Product Manuals .
Technical documentation at the Sybase web site is updated frequently.
For the latest information on product certifications and/or the EBF Rollups:Point your web browser to Technical Documents .
In the Browse section, click on What's Hot.
Select links to Certification Reports and EBF Rollups, as well as links to Technical Newsletters, online manuals, and so on.
If you are a registered SupportPlus user:
Point your web browser to Technical Documents .
In the Browse section, click on What's Hot.
Click on EBF Rollups.
You can research EBFs using Technical Documents, and you can download EBFs using Electronic Software Distribution (ESD).
Follow the instructions associated with the SupportPlusSM Online Services entries.
If you are not a registered SupportPlus user, and you want to become one:
You can register by following the instructions on the Web.
To use SupportPlus, you need:
A Web browser that supports the Secure Sockets Layer (SSL), such as Netscape Navigator 1.2 or later
An active support license
A named technical support contact
Your user ID and password
Whether or not you are a registered SupportPlus user:
You may use Sybase's Technical Documents. Certification Reports are among the features documented at this site.
Point your web browser to Technical Documents
In the Browse section, click on What's Hot.
Click on the topic that interests you.
This book uses these font and syntax conventions for Java items:
Classes, interfaces, methods, and packages are shown in bold Helvetica within paragraph text. For example:
SybConnection class
SybEventHandler interface
setBinaryStream( ) method
com.Sybase.jdbx package
Objects, instances, and parameter names are shown in italics. For example:
"In the following example, ctx is a DirContext object."
"eventHdler is an instance of the SybEventHandler class that you implement."
"The classes parameter is a string that lists specific classes you want to debug."
Java names are always case sensitive. For example, if a Java method name is shown as Misc.stripLeadingBlanks( ), you must type the method name exactly as displayed.
This book uses the same font and syntax conventions for Transact-SQL as other Adaptive Server documents:
Command names, command option names, utility names, utility flags, and other keywords are in bold Helvetica in paragraph text. For example:
select command
isql utility
-f flag
Variables, or words that stand for values that you fill in, are in italics. For example:
user_name
server_name
Code fragments are shown in a monospace font.Variables in code fragments (that is, words that stand for values that you fill in) are italicized. For example:
Connection con = DriverManager.getConnection ("jdbc:sybase:Tds:host:port", props);You can disregard case when typing Transact-SQL keywords. For example, SELECT, Select, and select are the same.
Additional conventions for syntax statements in this manual are described in Table 0-1 . Examples illustrating each convention can be found in the System Administration Guide.
Key | Definition |
{ } | Curly braces indicate that you choose at least one of the enclosed options. Do not include braces in your option. |
[ ] | Brackets mean choosing one or more of the enclosed options is optional. Do not include brackets in your option. |
( ) | Parentheses are to be typed as part of the command. |
| | The vertical bar means you may select only one of the options shown. |
, | The comma means you may choose as many of the options shown as you like, separating your choices with commas to be typed as part of the command. |
Each Sybase installation that has purchased a support contract has one or more designated people who are authorized to contact Sybase Technical Support. If you cannot resolve a problem using the manuals or online help, please have the designated person contact Sybase Technical Support or the Sybase subsidiary in your area.
|
|