This week's book giveaway is in the Cloud forum.
We're giving away four copies of Terraform in Action and have Scott Winkler on-line!
See this thread for details.
Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Al Hobbs
  • salvin francis

JDBC and Linux

Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have installed RedHat 6.1 on a machine with mysql server running.
I am using mm jdbc driver for mysql and the files are uncompressed into the Linux box.
A sample program is created which issue jdbc call to the mysql database. The applet is compiled and run from the client PC with mm jdbc driver uncompressed to my PC. The mm jdbc driver path is added to the PC's class path.
That's all I have done so far. If I want to put the application on the Linux box and calls it via an html page without having the client PC to carry the mmJDBC driver, how can I do that? Has someone got experience in this kind of setup?
I really want to have everything runs on the Linux server (web server) and the client PC just simply use the browser to access.
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can go with the JSP/servlet solution to call JDBC queries of your client and give him the output. But that means that you have to install JServ or Allaire JRun (i dont recommend this because it had been a big pain in the ass)....
or you can go the old-fashion way and write a cgi script (in Perl or shell script - whatever) that calls your Java application and pipes its output to your client... (that's a fast way of doing things - but it is not the recommended way for the long run). Of course your Java Output would be plain HTML....
[ This is afterall what Servlets are there for ]
any more help i'll be happy to answer your questions...
    Bookmark Topic Watch Topic
  • New Topic