Results 1 to 5 of 5

Thread: Java connect to Access

  1. #1

    Thread Starter
    Addicted Member annie613's Avatar
    Join Date
    May 2003
    Location
    NY, NY
    Posts
    161

    Java connect to Access

    I usually program in VB 6.0 but i was asked if i could develop a Java applet using Borlands JBuilder and connect to a MS Accesss Database....

    is there a certain code string that i need to connect

    thanks in advance
    annie

  2. #2

    Thread Starter
    Addicted Member annie613's Avatar
    Join Date
    May 2003
    Location
    NY, NY
    Posts
    161
    i am reading the post below on Java and DBs by delta770
    i will go from there

    any suggestions are still welcomed

    thanks

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Access database from an applet is very difficult. The JDBC-ODBC relies on native code and thus may not be used from an applet.

    Better to use a MySQL database, especially since you have to connect to a remote DB anyway.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  4. #4

    Thread Starter
    Addicted Member annie613's Avatar
    Join Date
    May 2003
    Location
    NY, NY
    Posts
    161
    i am new to the whole java thing, but could this be done in an app or someone i was talking to said...servlets, or sockets...

    i was confused...

    but i maybe albe to handle the application if you think that will work...

    and thanks for the suggestion on MySQL....i would rather use that anyway

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    A Java application or a Servlet do not have any restrictions beyond those imposed by the servlet container (configured by you).

    An Applet (the stuff running in browsers) has severe security restrictions: you cannot open local files, you cannot connect to anywhere except the originating server, you cannot execute any native code.

    I believe there are true Java JDBC drivers for Access by 3rd party vendors. You can use those even from applets. But they are not free like the MySQL driver is.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width