A Java HTTP Server

后端 未结 10 1932
轮回少年
轮回少年 2021-01-03 08:59

I want to implement a Java HTTP server locally, I mean the server computer would be in my control. I\'m expecting not more than 20 clients to send requests to it. I was wond

10条回答
  •  清酒与你
    2021-01-03 09:22

    Do you really want to build a HTTP server that deals with the protocol directly, or do you just want to write web apps? If all you care about is writing the web apps, then just use Tomcat, or Jetty, or Glassfish, or another server -- it will save you a ton of work.

    If you really are interested in writing your own server from scratch, then the best way would be to just use Java SE, and not use any existing server technology.

提交回复
热议问题