Socket « Connection « Java Database Q&A





1. Interrupt/Cancel a stuck connect() call    stackoverflow.com

Sometimes when I call connect() on a third-party proprietary JDBC driver, it never returns and a stack trace shows that it is stuck waiting for a socket read (usually). Is there ...

2. Send database data through socket connection    stackoverflow.com

I have a distributed java application and I want to send the database data between two databases which are in seperate computer systems or android devices. Which is the best way ...

3. Web Service vs TCP/IP Sockets (Java) + SQL Connections    stackoverflow.com

We are currently are at a stage in our product lifecycle where we are thinking about moving to Web Services. Our system is written in Java which consists of a ...

4. Transaction through Open socket connection    coderanch.com

I want to implement a solution of sending transactions over a open socket connection to the back end system. The current architecture of the application uses open socket connection - send transaction - close transaction. This architecture helps achieve a lot of concurrent transactions. Changing the architecture, where transactions will be sent over an open socket connection (for the server life), ...

5. Unix Connection Sockets    coderanch.com

I've read that Java cannot connect to a serer using the old style unix conection sockets, but my server requires that I connect like this from PHP: localhost:/home/*YOURUSERNAME*/*YOURDOMAIN.COM*/.database/mysql/mysql.sock Which works fine with PHP, but I need to connect from a Java application. Is it possible with the Java API? Does anyone know of a library I can download that allows this? ...

6. JDBC connection through Secure Sockets Layer    coderanch.com

Does anyone have any sample JDBC code enabling connection to a remote database running on a server equiped with an SSL (Secure Sockets Layer)? I run a database on our Linux development server. The database is Postgresql8.1. I want to test and develop my tomcat web application on my own, windows machine, hitting the remote database on the development server. I ...

7. Connecting via a specific Socket?    coderanch.com

I'm not quite sure where to put this, sockets & networking or here? I figured here. Is it possible to obtain a JDBC Connection object for SQL operations via a Socket object? I know there is a socket object(s) buried inside that Connection, hence all the socket exceptions you get if it fails to connect. But the DriverManager creates the socket ...

8. applet to connect socket and database permission - urgent!    forums.oracle.com

I would like to host my applet program into the intenet. I found applet has the restriction to access to the database and socket. My client and server program will both be at the same place. What should I do to overcome this situation. For example Java must be installed and what else should I do for security. Will this work ...