About 230,000 results
Open links in new tab
  1. How to create a basic Java Server? - Stack Overflow

    Aug 16, 2013 · I did a Java program that basically implemented a sort of chat between a client and a server. Used a socket to open up a port of the server that would hear incoming …

  2. Create a simple HTTP server with Java? - Stack Overflow

    Apr 26, 2010 · Jetty is pretty lightweight, but it does provide a servlet container, which may contradict your requirement against using an "application server". Jetty 12 has separated the …

  3. Simple HTTP server in Java using only Java SE API

    Jun 23, 2021 · Since Java SE 6, there's a builtin HTTP server in Sun Oracle JRE. The Java 9 module name is jdk.httpserver.The com.sun.net.httpserver package summary outlines the …

  4. ssl - Simple Java HTTPS server - Stack Overflow

    Feb 22, 2010 · public static void startMultiThreaded(InetSocketAddress address) { try (var serverSocket = getServerSocket(address)) { System.out.println("Started multi-threaded server …

  5. How to create Java socket that is localhost only?

    Feb 5, 2010 · I have a Java server that opens up a socket using ServerSocket (using Thrift with it). This server has a client on the local machine in Obj-c that communicates with the Java …

  6. A Simple Http Server with Java/Socket? - Stack Overflow

    I can also offer up the JLHTTP source code as a reference for a well-documented minimal compliant implementation of an HTTP server - it is one file, currently ~3K lines of which almost …

  7. "java.lang.OutOfMemoryError : unable to create new native Thread"

    May 28, 2013 · your JBoss configuration has some issues, /opt/jrockit-jdk1.6/bin/java -Xms512m -Xmx512m Xms and Xmx are limiting your JBoss memory usage, to the configured value, so …

  8. How do you configure a DataSource in Java to connect to MS SQL …

    The introductory documentation usually assumes that you don't have a Java EE app server, because writing your own Java classes is certainly simpler. Not needing Class.forName() is a …

  9. How to solve could not create the virtual machine error of Java …

    Aug 27, 2013 · I am working on java wicket framework and Apache tomcat. When I tried to start tomcat, it shows Java Virtual Machine Launcher pop window "Could not create the Java …

  10. 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 …

Refresh