java - 安装程序内嵌http服务?
PHPz
PHPz 2017-04-17 15:06:31
0
3
734

普通的web应用程序都是需要一个服务器,比如tomcat、nginx等。但我看过一些安装到本地的一些程序,安装完成之后,可以在浏览器中输入端口号进行访问。这种程序师怎么开发的?

PHPz
PHPz

学习是最好的投资!

reply all(3)
Peter_Zhu

Starting a web server does not necessarily require such a large container, as long as it listens to a port and implements the http protocol

阿神

The most common way in Java is to embed a jetty in the program to improve the http service

Ty80

You can start jvm through an external program written in c/c++ as a wrapper to run tomcat or jetty.
Under windows, this wrapper can also be implemented as a windows service.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template