swee dx wrote:I have a .exe java application...
swee dx wrote:The database only have php scripting, no JDBC.
swee dx wrote:I read up and I need JApplet to be the bridge is this right?
What do you mean with this; do you have a Java application which is compiled to a native Windows executable (*.exe file)?
You need a JDBC driver, which is normally only a JAR file that you have to put in your classpath. What kind of database is it (MySQL, Oracle, PostgreSQL, Microsoft SQL Server, ...)? For almost all kinds of databases there is a JDBC driver available, and you can usually find it on the website of the manufacturer of the database.
A Java applet (that's what I guess you mean by "JApplet") is in itself not something that's going to help you connect to the database. You might need to make an applet, but maybe not, it depends on other things, like whether the database allows access from remote systems or not. An applet runs on the user's computer, inside the web browser. If the database can only be accessed from the server itself, you'll need Java code that runs on the server (for example, a servlet that you'd run in a Java EE web container or app server), not an applet that runs on the client.
can it implement in Java file not Java Applet because i try to link my java application to Java Applet but failed.
Yes mine is a Java application, desktop application. I try to program my Java application to call/execute the java applet but fail.
how Java applet integrate with java applet.
java application to integrate with php also but it is not i wanted.
thus i thought maybe java application link to java applet so that it can link with my online sql database.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |