Avatar billede fredand Forsker
28. august 2005 - 20:11 Der er 8 kommentarer og
1 løsning

Is it possible to connect to an access-db in Linux?

Hello!

I just got a request for a small webb application that will use a Ms Access DB.

The idea is to convert a regulare application into a webbapp.

They would like to use Ms Access since the regulare application is useing it.

But one other demand is that they would like to run the webbapp in at Linux environment.

So now is the question how do I access the Ms Access DB from Java with a Linux environment?

I looked for a clean JDBC like from at www.aveconnect.com but it looks like it need a small server started and the server is for Windows.

Best regards
Fredrik
Avatar billede arne_v Ekspert
28. august 2005 - 20:15 #1
that is because this is the only good approach

windows                                                        | Linux
                                                              |
client app---(JDBC ODBC bridge)---MDB---(X)---gateway server---|---(JDBC)---web app
Avatar billede arne_v Ekspert
28. august 2005 - 20:16 #2
(and that drawing looks horrible in a non monospace font - copy paste to notepad to view)
Avatar billede arne_v Ekspert
28. august 2005 - 20:17 #3
would it be that difficult to port the client app from Access to something
more java and server suitable ?
Avatar billede fredand Forsker
28. august 2005 - 22:08 #4
Hello Arne!

Nice to hear from you!

Hmm I guess one easy approach is to use Windows all the way.

The problem is that the client just hate Windows.

Why do they want to use Access then you may wonder? The client-company used use windows before they got bought up from a bigger company that do not like windows. The previuos company used Access for one customer database and one quote database. They would now be able to use the same databases since there sell-support application PowerSell uses Access.

This is a tricky question. 

I guess they must use Access for PowerSell and i guess those clients is *.exe applications for windows. Correct me if I'm wrong when I say that you may store the common Access database for those clients on a linux server and be able to connect to the database from windows clients. Does this sound reasonable? exe -> linux -> Access

If they must use windows for PowerSell I guess I'm home free, that I could also use windows all the my self.

Best regards
Fredrik
Avatar billede arne_v Ekspert
28. august 2005 - 22:10 #5
only possible if the Linux box runs Samba and the windows box sees the MDB as file
on a file share
Avatar billede arne_v Ekspert
29. september 2005 - 20:42 #6
success ?
Avatar billede fredand Forsker
30. september 2005 - 08:55 #7
Hello Arne!

Acctually not yet, but hopefully soon!

One person has quit his job over here so I need to work for 2 persons. So I have been quit busy. But I'll get back as soon as I can.

Best regards

Fredrik
Avatar billede fredand Forsker
30. december 2006 - 13:26 #8
Please give svar so I can reward you!
Avatar billede arne_v Ekspert
30. december 2006 - 16:11 #9
ok
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester