How to run a web server using Java in 2022

preview_player
Показать описание
We will discuss how to start a web server using Java with the release of JDK 18 in Marsh 2022. Currently, starting a web server in Java is not easy, but there might be a change coming.

Pull request:

One year of unlimited online learning. Get 30% OFF Coursera Plus.

Expanda seus horizontes de carreira. Tenha 68% de desconto por um ano de Coursera Plus

Unlock unlimited opportunities with 50% off your first month of Coursera Plus

Join the channel to get access to more perks:

Or visit my blog at:

Outro music: Sanaas Scylla

#java #webserver #simple
Рекомендации по теме
Комментарии
Автор

i think this feature is available from java 1.6 version we can do this with HttpServer class and it introduced in java 1.6

optomecanic
Автор

This is very cool! I need to go download this now.

cetx
Автор

Hi, interesting. Absent modules/modularisation that was introduced in Java 9 I doubt it would have got in. Maybe it's a trial feature? Have you considered quarkus? It uses Java EE / Jakarta microprofile.

MrMikomi
join shbcf.ru