Java is one of the most used programming language in the World. The JDK comes with a lot of exciting features. In that video, we are going to use the ServerSocket and the Socket classes to create a simple HTTP Web Server in Java.
In the first part of this tutorial, we create the constants for the Web Server (index file, port, 404 file not found page, …) and the Thread which will be used to manage each client connection separately.
The complete source code of this tutorial can be found on the SSaurel’s Blog : https://www.ssaurel.com/blog/create-a-simple-http-web-server-in-java/
Don’t hesitate if you have any question about this tutorial.
► Discover all the Android Apps offered by SSaurel Mobile Apps : https://play.google.com/store/apps/dev?id=6924401024188312025
► Learn to create Android Apps step by step on the SSaurel’s Blog : https://www.ssaurel.com/blog
► Enter in the Bitcoin and cryptocurrency World : https://www.toutsurlebitcoin.fr