Java Applet for SQL Query
I have very little experience with Java Applets, but I was wondering if there is a java applet out there that will display results from a SQL statement/query that you can set to update every second or two. So practically live results, in other words.
JeevesBond posted this at 10:56 — 7th January 2007.
He has: 3,956 posts
Joined: Jun 2002
I don't have much experience of Java Applets either, but I do know they'll operate like any other client-side object in the way that they interact with the server.
You will be able to poll the server once every few seconds for a result (using PHP, or some other server-side language, perhaps even JSP), but it will not be any easier than doing it with Javascript and some AJAX. The Javascript method will probably be better supported in this context, and less CPU-intensive.
Disclaimer: Whilst it may sound like I know what I'm talking about it may turn out to be complete bilge.
a Padded Cell our articles site!
andy206uk posted this at 16:28 — 7th January 2007.
He has: 1,758 posts
Joined: Jul 2002
Nah I'm with you... ajax would be easy compared to writing a java applet. In fact... I think it could be made very very easy if you used a javascript framework like jquery for the job...
Andy
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.