Melnica Server is a custom basic Servlet Container application which depends on Socket Programming.
Melnica is a web server which process servlets. Melnica is a multithreaded server which creates http request, response objects for each client request. For each request, socket connection is established that has output/input streams.
- "conf/melnica.xml" is configuration file of Melnica Server.
<?xml version="1.0" encoding="UTF-8"?>
<Melnica shutdown="SD">
<Service name="localhost_service_8081" activeWebPlatforms="servlet">
<Bosphorus port="8081" protocol="HTTP/1.1" timeout="45000" />
<Host domain="localhost" name="first_local" unpackWars="true" appRootFolderName="webapps" />
</Service>
<Service name="localhost_service_8082" activeWebPlatforms="servlet">
<Bosphorus port="8082" protocol="HTTP/1.1" timeout="45000" />
<Host domain="localhost" name="second_local" unpackWars="true" appRootFolderName="webapps" />
</Service>
</Melnica>
Melnica Web Server architecture summary document ==> https://github.com/batux/melnica-server/files/6644410/Developing.Your.Own.Web.Server.pdf
Component Acrhitecture Overview
Melnica Web Server initialization flow
Melnica Web Server start flow
HTML content which served from Melnica Server rendered by browser.
Http header added to client response.
Melnica: Batuhan Düzgün
- https://l-webx.gitbooks.io/how_tomcat_works/content/index.html
- https://www3.ntu.edu.sg/home/ehchua/programming/webprogramming/HTTP_Basics.html
- https://github.com/xianfengxiong/how-tomcat-work/tree/master/book/tomcat-4.1.12-src
- https://medium.com/@nikhilmanikonda/tomcat-who-i-am-and-what-i-do-e91ff72fb2ea
- https://www.net.t-labs.tu-berlin.de/teaching/computer_networking/ap01.htm