User guide
// Utility function to read a line from standard input
static String readEntry(String prompt)
{
try
{
StringBuffer buffer = new StringBuffer();
System.out.print(prompt);
System.out.flush();
return in.readLine();
}
catch(IOException e)
{
return "";
}
}
}
Step 7 Run your application
With the server started you can run the sample application and provide the thin server
connection information
Example
The following example assumes an Oracle Rdb database personnel in MY_DB_DIR
$java –cp .;rdb$jdbc_home:rdbThin.jar "my_ap"
Please enter information to test connection to the database
user: my_name
password: my_password
database: my_db_dir:personnel
Connecting to the database...Connecting...
connected.
Hello World
Your JDBC installation is correct.
Contents
10.3
1.
2.
Sample Setup, Starting an Oracle JDBC for Rdb thin
server from Oracle SQL/Services.
The following sections describe step by step how you can setup and start a simple JDBC
server using Oracle SQL/Services.
Basically you have to:
Decide on the versions of Rdb and JAVA you wish to use on the server
Setup server-side configuration files and command procedures
152