473,398 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

MS Access Applets JDBC

I have spent a good deal of time looking for how to connect an applet
to a remote database (MS Access) using JDBC, as yet I have found no
solid solution!!

According to some books I have read the url takes the format of
"jdbc:odbc://ipaddress:port/MS_Access/DBName"

I am working with jbuilder and this does not work

I am able to connect when i use "jdbc:odbc:DBNAME"

Are their any websites on how to soleve this problem!!

I really need a solid example of how to over come this problem.

When I run the applet within a browser using "jdbc:odbc:DBNAME"
which worked in JBuilder, it fails to create the connection. This is
because of security. What is the solution around this problem??

Their seems to be a good few topics posted on this subject, but I have
seen no workable solutions!!!

Jul 18 '05 #1
1 6519
jd********@yahoo.ie wrote:
I have spent a good deal of time looking for how to connect an applet
to a remote database (MS Access) using JDBC, as yet I have found no
solid solution!!

According to some books I have read the url takes the format of
"jdbc:odbc://ipaddress:port/MS_Access/DBName"

I am working with jbuilder and this does not work

I am able to connect when i use "jdbc:odbc:DBNAME"

Are their any websites on how to soleve this problem!!

I really need a solid example of how to over come this problem.

When I run the applet within a browser using "jdbc:odbc:DBNAME"
which worked in JBuilder, it fails to create the connection. This is
because of security. What is the solution around this problem??

Their seems to be a good few topics posted on this subject, but I have
seen no workable solutions!!!


First, the URL connection string is a function of the JDBC driver. So
look at the documentation for the JDBC driver.

Second, get your program working as an application first. That way you
can eliminate any applet security issues from the equation.

Next, start worrying about applet security issues. For starters, the
applet can only talk to the server that hosts the applet. So the
database needs to run on the same server (or you need to employ some
trickery). Second, I would be concerned about using the JDBC-ODBC
bridge in an applet. I would imagine that it uses resources that are
applet no-nos. But I am not certain of this.

If you can't get around the applet security, look into signing your applet.

HTH,
Ray

--
XML is the programmer's duct tape.
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: John Howard | last post by:
I have the following in a jythonc program to be executed in a html file. f1 = open("filename","r") I get message about filePermission read error. Program compiles and jar file is created....
0
by: Monica Ferrero | last post by:
Hi! I'm not sure if this is the most adequate mySQL list for this post. If not, please indicat me which one I should use... I'm using Tomcat 4.1.24 with Apache 2 and MySQL 4.0.13. I have the...
4
by: Ashwin Kutty | last post by:
Hi all, I sent this message to the jdbc list and received no response there and so am posting to this list hoping I could get some help here. Thanks in advance. ---------- Forwarded message...
12
by: Phil Powell | last post by:
<cfquery name="getAll" datasource="#request.dsn#"> SELECT U.userID, U.fname, U.lname, U.phone, U.lastLoggedIn, U.choiceId, U.experience, T.label AS teamLabel, R.label AS roleLabel FROM User U...
2
by: Lin DeNoyer | last post by:
I am so mad at microsoft right now! They just told me - 10 days after I placed my order for an upgrade to Office 2003 Pro - that they canceled the order because the credit card info didn't match...
9
by: Albretch | last post by:
.. I am trying to create a database in a MS Access DB via JDBC drivers. I have tried both sun.jdbc.odbc.JdbcOdbcDriver and ids.sql.IDSDriver From some reason both drivers Exceptions tell me...
5
by: Nathan Given | last post by:
Hello All, I've been struggling on and off for 3 months trying to connect to an DB2 database running on an IBM iSeries machine. I FINALLY figured out how to connect with Coldfusion (see...
0
by: neuraljay | last post by:
hi everyone. I am trying to build a jsp using webwork, hibernate and mysql. And right now I am doing its unit testing. Everytime I run the test I am getting this error: Error JDBC exception on...
2
by: zalek | last post by:
Hello, I wrote a program that is working OK which access DB2 using the following code: String w_conn = "jdbc:db2:DB2MAIN; Class.forName("COM.ibm.db2.jdbc.app.DB2Driver"); Connection db2Conn...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.