普通的web应用程序都是需要一个服务器,比如tomcat、nginx等。但我看过一些安装到本地的一些程序,安装完成之后,可以在浏览器中输入端口号进行访问。这种程序师怎么开发的?
学习是最好的投资!
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
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.
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
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.