Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-26-2009, 03:18 PM
Member
 
Join Date: Jun 2009
Posts: 17
Rep Power: 0
etherkye is on a distinguished road
Send a message via MSN to etherkye Send a message via Yahoo to etherkye
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.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 07-01-2009, 09:01 AM
Steve11235's Avatar
Senior Member
 
Join Date: Dec 2008
Posts: 921
Rep Power: 2
Steve11235 is on a distinguished road
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...
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-01-2009, 11:44 AM
Member
 
Join Date: Jun 2009
Posts: 17
Rep Power: 0
etherkye is on a distinguished road
Send a message via MSN to etherkye Send a message via Yahoo to etherkye
Default
Thanks. i'll look into them.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid thread acces Execption Big Pete SWT / JFace 1 08-02-2009 01:19 PM
How to allow one user to acces resource SantoshBK09 Advanced Java 1 01-06-2009 04:11 PM
How to extract .dat file from the internet using Java? burian New To Java 3 12-09-2008 09:17 AM
Client Internet Explorer Setting Mir Networking 29 06-26-2008 01:01 PM
Help - problem with java when using internet badabing New To Java 1 08-07-2007 02:39 PM


All times are GMT +2. The time now is 06:23 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org