Web server in pure Java

preview_player
Показать описание
We discuss how to create a simple web server using only native Java code, no libraries, and a simple interface for these actions.

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

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

I needed to implement a simple web server 8 or 9 years ago, and I remember it being hard to find information on how to do it. I finally did find something, but as I vaguely recall it was somehow a bit more complicated than this. I wish your video was around back then.


More recently I used Jersey and Spring Boot to create web servers/applications and they're so complex when you just need something basic: Jersey is pain in the butt to configure, plus you need a separate webserver like Tomcat, and Spring is a huge, complex framework. They have their uses, sure, but I'll be coming back to this video when I just need something simple.

aaronperl
Автор

Thanks so much! I've been looking for a straightforward example and haven't found one until now.

MrPDTaylor
Автор

I Love the way you are writing the code ❤️. I want to prepare to write the code like this ❤️❤️❤️

pms_code
Автор

Super useful man! I was looking for a breakdown of the HttpServer class and couldn't find one anywhere! Thanks so much!

peerpirate
Автор

thank you dude! Exactly what i searched for!!

elirant
Автор

Awesome video! Going to finally build a framework-less http server! Thanks for the video!

iidanielbirl
Автор

Hi, can I use it to update my website without refreshing it? Or I have to use WebSockets?

resu
Автор

does everybody with the last name Persson like to code? Markus Persson who coded minecraft also likes to code

gameratortylerstein
Автор

Hey awesome video man this helped me a lot but when I use a Buffered Reader to read my html file and load it into the body every thing works except it doesn't load pictures and I know my html/css works please help

adamsalem-s
Автор

very NOT useful like most tutorials... I directly starts didn't know why "package org ea" didn't work, and because I didn't know, I don't know what to learn or where to find. 🤷‍♂
Is this some to install? Where is the java file located? In src folder? Why do you hide this side bar? After 2 Minutes, I know this is not helpful I close and bye.
Can someone say how are the steps before? Man this waste so much time for beginners. Time of years really...
If I google package org ea nothing helpful appears, so how to learn, where to find, what the heck is this?? Since 10 yrs I try to learn programming and this is what happens!?

For me such tutorial are completely useless. But I didn't know what I have to learn instead. Holy crap.

wolfwinter