Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Can you connect to a remote server via jdbcthin applet ?

Re: Can you connect to a remote server via jdbcthin applet ?

From: vincent <vroquencourt_at_businessobjects.com>
Date: Thu, 24 Dec 1998 11:25:41 +0100
Message-ID: <368216A5.2D5D6936@businessobjects.com>


Hi Ted,

    You 're wrong! Only thin driver can be used in applet to connect to a database, this kind of driver (type4) implement its own version of a TCP/IP version of Oracle's SQL*Net ,
Oracle's JDBC Thin driver is a Type 4 driver that uses Java sockets to connect directly to Oracle. It provides its own implementation of a TCP/IP version of Oracle's SQL*Net. Because it is 100% Java, this driver is platform independent.

The Oracle Call Interface (OCI) is an application programming interface to Oracle databases. It consists of a library of C language routines to allow C programs (or programs written in other third generation languages) to send SQL statements to the database and interact with it in other ways.

Oracle provides two categories of JDBC drivers:

     JDBC Thin for Java applets
     JDBC OCI for Java applications

I was able to connect to a local database using thin-driver applet and to any remote database using oci-driver application. I did'nt go througt the security problem to connect to a remote database via thin-driver... check this sites ...
http://tns.sdsu.edu/~diebel/jdbc/owshtmli.htm http://www.javasoft.com/sfaq/index.html

Hope this helps....

tedchyn_at_yahoo.com wrote:

> Sir, I have problem running sample program(JdbcApplet) provided by oracle
> JDBCthin. I only see the push botton on the screen and database connection
> was not executed at all. I read from oracle tech support stating you can not
> use applet and JDBCthin to connect to a remote database. Is this true ?
>
> I use the same jdbcthin to run "Java <class name>" and able to connect to the
> same remote database.
>
> Thanks in advance.
>
> Ted chyn(tedchyn_at_yahoo.com).
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Received on Thu Dec 24 1998 - 04:25:41 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US