This week's book giveaway is in the Java in General forum.
We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line!
See this thread for details.
Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General 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 ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

JDBC and Linux

 
Greenhorn
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.
Thanks.
 
Greenhorn
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...
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic