Help download jar to MS Access connection

JAVA

    Sponsored Links

    Next

  • 1. VM performance: Applet calling javascript functions with an object as param
    Hi, We have an applet that has to support the SUN VMs as well as the MS VM. The applet receives updates from a server (via tcp or http) and wraps them up as objects and passes them using the JSObject scripting context to a javascript function. This function takes the object and reads the properties and updates a screen. All seems simple stuff. The problem is that the MS JVM runs like a rocket, but the sun vm seems to max out our processor and also takes ages to process anything. I have tried logging from the console using debug level 5, and it shows a lot of back and forth between the applet and the javascript when accessing methods on the object passed. Seeing that as a possible problem, I now pass a delimited string to the front end, and then convert that into an update message purely in javascript so there is only one hit to the applet per message. I am still seeing a massive difference between the sun and ms VMs. Has anyone ever come across this, and is there anything I can do to help flatten out this performance? Steve
  • 2. J2EE vs JDK
    What exactly is the relation of the JDK to J2EE? Ie, who would want J2EE as opposed to the JDK? -- Timothy Murphy e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
  • 3. java3d question
    I apologize if this is not the correct group to ask this question but comp.lang.java.3d seems to be very unactive... Here is my java3d question: I would like to know how to change simple object properties. E.g.: I have a geometry.Box object. During the execution of the program (by that I mean that the object is already live and compiled) I would like to change two properties of this box: - color - size how can I do that? thanks, Saso Zagoranski

Help download jar to MS Access connection

Postby Fabio » Fri, 04 Feb 2005 05:32:57 GMT

Hi,

where do I download jar to MS access connection?

From Sun?

thanks for any suggestion.
fabio



Re: Help download jar to MS Access connection

Postby Steve W. Jackson » Fri, 04 Feb 2005 06:34:25 GMT

In article <ZNaMd.487559$ XXXX@XXXXX.COM >,




I'm not sure what you're asking for.

Are you seeking a jar file which contains a JDBC driver for use with MS 
Access?  If so, you don't really need one.  A quick Google search will 
yield numerous places where you can learn to use the built-in JDBC-ODBC 
bridge that's part of Java already.  Or, should you want to do some more 
"industrial strength" work, you can find numerous third party drivers 
available.

= Steve =
-- 
Steve W. Jackson
Montgomery, Alabama

Similar Threads:

1.Help download jar to MS Access connection

Hi,

where do I download jar to MS access connection?

From Sun?

thanks for any suggestion.
fabio





2.jdbc connection to MS access database

Im trying to connect my database. im using ms access when i try to
execute my program it gives me this error
i create my database by going to the odbc in the administrative tools.
and when i try to execute my code  it gives me this error:
java.sql.SQLException: No suitable driver
	at java.sql.DriverManager.getConnection(DriverManager.java:545)
	at java.sql.DriverManager.getConnection(DriverManager.java:193)
	at Transit.main(Transit.java:16)

and this is the code im using.

                try{
  	    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
   	}
   	catch(Exception e){
   	    e.printStackTrace(System.err);
   	}
	Connection con;
	Statement stmt;

	//connecting to the database.
	try{
	   con=DriverManager.getConnection("jbdc:odbc:Hw3");//this is where
its giving me errors
	   stmt=con.createStatement();

	   con.close();
	   stmt.close();
	}
	catch(Exception sqle){
	     sqle.printStackTrace(System.err);
	}
any suggestions do i have to download any updates or something im
using java 1.5 sdk.

3.MS - Access Connection Error through servlet

Hello,
     i got the same exception error DSN not found and no default
driver specified.

4.MS Access connection

Hello,

I have a rogram in JAVA that needs to connect to a MS Access DB that already
exists, I'm kinda new to DB acces with JAVA, and I don't know how to connect
to to the DB.

I have already found out how to use the jdbcodbcbridge, but i find nowhere
how the URL that should be usedhas to look like.

so far I tried it like this:

but it throws an exception that it can't find the database. Now I don't know
if it is the wrong way to specify the url, or if it is because the mdb file
is in the wrong place

    try {
      Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    } catch (Exception e) {
      System.out.println("Failed to load JDBC/ODBC driver.");
      return;
    }

    Statement stmt = null;
    Connection con=null;
    try {
       con = DriverManager.getConnection (
             "jdbc:odbc:../groenidee.mdb",
             "",
             "");

        stmt = con.createStatement();
    } catch (Exception e) {
        System.err.println("problems connecting to
jdbc:odbc:groenidee.mdb");
    }


THNX

Tim


5.Newbie: ms access database connection fails on XP, but works on 98

Hi all,

I have a java applet that makes a connection with a ms access
database. It works on windows 98. But if I try to run it on XP-pro it
doesn't work. I defined the datasource by means of the User DSN tab in
the ODBC Datasource Administrator.

Does anybody know what the problem could be? Is there maybe something
else that must be done before a database can be accessed on XP?

Thanks,
Karel

6. Problem with JDBC-ODBC connection to MS Access 2000

7. connection ms Access to MIDlet

8. DSN-less connection to MS Access with password



Return to JAVA

 

Who is online

Users browsing this forum: No registered users and 89 guest