How to access a DSNless remote MS-ACCESS DB ?

I have tried this with local system and working fine.

String conString="jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};SERVER=myserver;DBQ=c:\\my.mdb";

I think here the SERVER is dummy. Even without SERVER its working fine with local system.

But assume the 'my.mdb' DB is in remote 'myserver' and how to access that from a local system as a client ?

Its saying "errorjava.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'."

(I knew that using type 3 and 4 we can do that. But Is there any way to do this without that ?)

I think Access is a desktop related application and doesn't support client server like SQL server.

Is that right ?

Expecting your answers......

[778 byte] By [nandakrs] at [2007-9-26 4:33:40]
# 1
i also agree with u access is a desktp product not a server database and can not be connected from a remote machine . i read somewhere on this forum that u need some third party such as rmijdbc driver for accessing it
parul_patidar at 2007-6-29 17:49:19 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2

>...can not be connected from a remote machine

Incorrect.

You do however need to be able to map a drive from the database file machine to the local machine. If you can do that then you can use MS Access-odbc. If you can't then you will have to find another solution.

jschell at 2007-6-29 17:49:19 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 3
>You do however need to be able to map a drive from >the database file machine to the local machine. what does it mean and how to do this?
parul_patidar at 2007-6-29 17:49:19 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 4
ok got itbut is it possible over Internet
parul_patidar at 2007-6-29 17:49:19 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 5
>but is it possible over Internet Possible yes. But it isn't a good idea.If you want that then use a proxy driver. Search this site for "RmiJdbc" to find the site.
jschell at 2007-6-29 17:49:19 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 6
>Possible yes. But it isn't a good idea.why?can ualso tell me why we should use middle tire (servlet) to access database at server why not connect it directly .
parul_patidar at 2007-6-29 17:49:19 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 7

>why?

Because to do that you have to 'share' your drive with the internet. That is considered a security hole. This presumes that you meant internet rather than intranet.

>can ualso tell me why we should use middle tire

I can't say for certain that you need that. An application server allows for the possibility of more security, better data abstraction levels (data, gui, rules) and allows for connection pools amoung other things. Whether that is useful depends on exactly what you are doing.

jschell at 2007-6-29 17:49:19 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...