Results 1 to 3 of 3
  1. #1
    etherkye is offline Member
    Join Date
    Jun 2009
    Posts
    17
    Rep Power
    0

    Default Java Client Needs Database Acces Over Internet

    More problems XD

    I need my java program to get data from a MySQL database stored on a remote server.

    Now i know alot of php and can easily write a php page which can process a POST request, but i have no idea how make it respond.

    What i will be needing to do it first to send a single column of a table. The java program will then get details relating to those options, and then start processing whole tables.

    What i need to know, is how to get the php and java working so that it is easy to get and process the data row by row.

    Can anyone please provide me with either the code needed for both ends, or a link to somewhere where it is explained.

  2. #2
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    8

    Default

    First, check to see if MySQL provides SSL encrypted database connections. If so, that will protect you as you access the database. You will also have to tunnel through the firewall to the server, which is easy if the firewall admin agrees to allow it.

    As far as PHP and Java, this is a good reason to use JSP. Just kidding. Sorta. Look at this Wikipedia link...

  3. #3
    etherkye is offline Member
    Join Date
    Jun 2009
    Posts
    17
    Rep Power
    0

Similar Threads

  1. Invalid thread acces Execption
    By Big Pete in forum SWT / JFace
    Replies: 1
    Last Post: 08-02-2009, 01:19 PM
  2. How to allow one user to acces resource
    By SantoshBK09 in forum Advanced Java
    Replies: 1
    Last Post: 01-06-2009, 04:11 PM
  3. Replies: 3
    Last Post: 12-09-2008, 09:17 AM
  4. Client Internet Explorer Setting
    By Mir in forum Networking
    Replies: 29
    Last Post: 06-26-2008, 01:01 PM
  5. Help - problem with java when using internet
    By badabing in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 02:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •