Solved

JDBC for Access97 and SQL Server

Posted on 1998-09-17
4
188 Views
Last Modified: 2012-05-04
Does anyone know how to connect a MsAccess97 or MsSQLServer database to a Java applet? Is it possible deploy this functionality without distributing files to the client?

(DevPlat: Winnt J++6.0b, DeployPlat: WinntServer(IIS))

Many thanks.
0
Comment
Question by:JohnO061798
  • 2
4 Comments
 

Expert Comment

by:pureDan
ID: 1224391
It's possible to access a database from an applet thru JDBC...my in my previous experience a only achieved a connection to a database from an application...not from an applet thru JDBC-ODBC driver.
how? in Control Panel / 32 bit ODBC/User DSN  do the following:
1. Add the driver U need
2. in the Datasource Name TextField type your database name (without the extension)
3. then Select the path to your database.
4. You 've got also some Advanced features like seting a password or smthng. for your database.

------------
Once U've done this U can access thru code your database.

Hope this helps U.

0
 

Author Comment

by:JohnO061798
ID: 1224392
This is asked in a client-server context ie. applet connects to *remote* MS database. I know it can be done with JDBC-ODBC bridge BUT I am interested in a PURE java solution where a JDBC driver does the work of connecting to and querying the DB. Is there such a driver around or does anyone know a work-around. (MS seem keen to promote their ADO technology which is NOT pure Java)
0
 
LVL 1

Accepted Solution

by:
baresse earned 200 total points
ID: 1224393
You can go here for JDBC availabe Driver :

  http://java.sun.com/products/jdbc/jdbc.drivers.html

you can found :  IDS Software
                 Intersolv
                 NetAway
                 etc...
for type 3 Driver  -> to use with 3-tiers (middleware) architecture.

WebLogic for a type 4 Driver for MsSQLServer.

I don't know if theses drivers are free...

I've developped exaclty what you want but with a ORACLE database
and so a free ORACLE Driver. A client-server context where applet connects to *remote* ORACLE database through a firewall by
using either RMI, either CORBA and for both JDBC. (I've made 2 versions)



0
 

Author Comment

by:JohnO061798
ID: 1224394
Thanks for that. The WebLogic driver does cost around $500 dollars though! I have since found www.synsoft.com whose JDBLite driver does the job with a small footprint although I'm not sure how scalable it is.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
eclipse compiler vs Installed JREs option 3 77
recursion example 16 111
Image decoding from Camera 3 72
Oracle SQL syntax check  without executing 6 37
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video teaches viewers about errors in exception handling.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now