About 490,000 results
Open links in new tab
  1. Simple HTTP server in Java using only Java SE API

    Sep 17, 2010 · Is there a way to create a very basic HTTP server (supporting only GET/POST) in Java using just the Java SE API, without writing code to manually parse HTTP requests and manually …

  2. Run java jar file on a server as background process

    Aug 24, 2012 · 129 I need to run a java jar in server in order to communicate between two applications. I have written two shell scripts to run it, but once I start up that script I can't shut down / terminate the …

  3. Run a Java Application as a Service on Linux - Stack Overflow

    I have written a Java server application that runs on a standard virtual hosted Linux solution. The application runs all the time listening for socket connections and creating new handlers for the...

  4. java - How to configure port for a Spring Boot application - Stack …

    How do I configure the TCP/IP port listened on by a Spring Boot application, so it does not use the default port of 8080.

  5. How to make Java work with SQL Server? - Stack Overflow

    Dec 1, 2012 · In another server, though, I had to use Microsoft's JBDC driver sqljdbc4.jar. But then, it would only work after setting the JRE environment to 1.6 (or higher).

  6. How do I set the default Java installation/runtime (Windows)?

    This is a bit of a pain on Windows. Here's what I do. Install latest Sun JDK, e.g. 6u11, in path like c:\install\jdk\sun\6u11, then let the installer install public JRE in the default place (c:\program …

  7. How to make Java application prefer TLS 1.3 over TLS 1.2?

    Oct 25, 2024 · As you talk about modifying the JRE your app is a Java app with bundled Java run-time? BTW: This is a strange requirement. If a server want's to prefer TLS 1.3 it can simply do that my …

  8. java - socket programming multiple client to one server - Stack Overflow

    How do you handle multiple client to connect to one server? I have this LogServer.java

  9. Sending HTTP POST Request In Java - Stack Overflow

    Jul 24, 2010 · Sending a POST request is easy in vanilla Java. Starting with a URL, we need t convert it to a URLConnection using url.openConnection();. After that, we need to cast it to a …

  10. java - JDBC connection failed, error: TCP/IP connection to host failed ...

    Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".