SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Using Java with Mysql
-
Jun 4, 2000, 16:35 #1
- Join Date
- Jun 2000
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hello,
I am currently using mysql to power my site.
If possible, would you please show me a simple java code or javascript that used to
interact with mysql server.
or a couple of recommended links about this.
Thank You
-
Jun 4, 2000, 22:21 #2
- Join Date
- Jul 1999
- Location
- Chicago
- Posts
- 2,629
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You cannot use MySQL databases with Javascript (client-side) because it is strictly on the client's browser, and if they could access the DB then there would be a potential security problem.
I don't know about using Java. Client-side Java applets can't because they are client-side as I explained in the above paragraph.
Both Java and Javascript can be server-side, though.
-
Jun 5, 2000, 16:33 #3
- Join Date
- May 2000
- Location
- Canada
- Posts
- 533
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ACTUALLY ....
java applets can interact with irc servers.. or telnet servers, there should be no problem interacting with an http server(running scripts) which interact with the database .. since most mySQL database servers wont allow remote connections ... OR, if they do.. have the java applet interact directly with the server..
its a thought, I dont support or use java..
--------------------
Kryogen WebHosting - feel the power of php4
-
Jun 8, 2000, 15:22 #4
- Join Date
- Apr 2000
- Location
- Melbourne, Australia
- Posts
- 2,571
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Your best bet, MyPHP3, would be to use PHP to interact with your database. Your user name suggests you're already doing this, however. Can you explain why you would like to use Java?
------------------
-Kevin Yank.
http://www.SitePoint.com/
Helping Small Business Grow Online!
-
Jun 8, 2000, 16:13 #5
- Join Date
- Jun 2000
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
----This is a a reply from MYPHP3---
The reason I choose Java is want to create
a real time updated data display application.
..mmmmm.. Some things like java chat application--> a pipe being used to trasmit
or updated latest infomation. or simply put it as I want to see data being updated in my browser as anyone update it at the same time.
Thanks for your supports
Bookmarks