1. Creating a connection pool in a java command line application stackoverflow.comIs it possible to create a command line application (without an application server) That uses a connection pool in order to access the database?. And how to do it? I've tried it ... |
2. Connecting Java Applet with Database stackoverflow.comI've got a simple problem... I've got an Java applet running on my client machine which needs to communicate with a database at my end. I'm not sure how I go ... |
3. connecting to remote database(MSSqlserver) using applet stackoverflow.comHI, I am having a problem that I have to insert the data in a table from the applet. since the applet run on the client machine and the database is ... |
4. How to connect applet to database coderanch.comSandeep |
5. How to connect applet to database coderanch.com |
6. How can I connect my Java applets with SQL using JDBC thin drivers? coderanch.com |
7. uanble to wstavlish connection using JDBC and applet coderanch.comimport java.sql.*; import java.io.*; import java.awt.*; import java.applet; import java.awt.Button; public class Test extends Applet implments ActionListener { tf= new TextField(10,5); tf2 = new TextArea(10,5); b= new Button("click"); public static void main(String ar[]) { Object ob = new Object(); init(); } void init() { tf2.add(); tf.add(); b.addActionListener(this); } public void ActionPerformed(ActionEvent ae) { if(ae.getSource == "click") { object(); } } public ... |
8. connecting Ms-access database with java applet java-forums.org |
9. Signed Applet Database Connection.. forums.oracle.comjdbc:mysql://192.168.5.4:3306/OQMcontrolec30_validatie_mysql com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.5.4:3306 connect,resolve) STACKTRACE: java.net.SocketException: java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.5.4:3306 connect,resolve) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO. |
10. applet + jdbc can't connect forums.oracle.com |
11. ClassNotFoundException when applet tries to connect to DB. forums.oracle.comThanks for your reply. you will have to package your applet jar with the driver classes. I now tried this and added these classes, which makes the application work. It also runs fine on a web application on my computer using the localhost:8080 adress, and also using my ip-number :8080/the .jsp file. However when a friend tried to use it over ... |
12. mysql-jdbc applet connection issue forums.oracle.com//*********BLOCK TO RETRIEVE RECORDS FROM TABLE********* try{ Statement st = conn.createStatement(); ResultSet res = st.executeQuery("SELECT * FROM table1"); System.out.println("Name: " + "\t" + "Age: "); while (res.next()) { String s = res.getString("name"); int i = res.getInt("age"); System.out.println(s + "\t" + i); } } catch (SQLException s){ y = y + 20; g.drawString("******* s: "+s,50,y); } //*********END OF BLOCK TO RETRIEVE RECORDS ... |
13. Connect to a database in an applet forums.oracle.comHow can I do this? I have searched the internet and searched this forum but found nothing that exactly describes how to do this. I have a mysql database on a host, so how do I access it. I looked at jdbc, but I saw several people saying that since the applet is actually on the client side you cant connect ... |
14. connecting to remote database(MSSqlserver) using applet forums.oracle.comHI, I am having a problem that I have to insert the data in a table from the applet. since the applet run on the client machine and the database is on the remote machine now when java on client machine looks for the driver "com.microsoft.jdbc.sqlserver.SQLServerDriver" then it give the exception that class com.microsoft.jdbc.sqlserver.SQLServerDriver not found. so how should I set ... |