Make a Simple HTTP Server in Java - Java Tutorial - Part 2: The Configuration Manager

  Рет қаралды 38,267

CoderFromScratch

CoderFromScratch

Күн бұрын

Пікірлер: 51
@kellothermes5090
@kellothermes5090 Жыл бұрын
Thanks for making this video series. Your code looks so clean. Love it!
@SuperCoderFromScratch
@SuperCoderFromScratch Жыл бұрын
And thank you for the kind words ! :D
@jorgevillarreal2245
@jorgevillarreal2245 4 жыл бұрын
how is that you only have 195 subscribers ?! Thanks for uploading high-quality content, very well explained !
@SuperCoderFromScratch
@SuperCoderFromScratch 4 жыл бұрын
Thanks so much for the feedback!
@kevinyuan6115
@kevinyuan6115 2 жыл бұрын
For me that was not a boring part, I learned lot of things from this video, thank you very much :)
@SuperCoderFromScratch
@SuperCoderFromScratch 2 жыл бұрын
Hey, thanks for the Feedback!!!
@rishavchatterjee480
@rishavchatterjee480 Жыл бұрын
Great Series man! Thanks for giving insights on what happens under the hood.
@SuperCoderFromScratch
@SuperCoderFromScratch Жыл бұрын
Thanks for the kind words, feedback and for watching!
@virtualsocialretreat8234
@virtualsocialretreat8234 Жыл бұрын
i only understand enough to realize that this is kinda beautiful
@SuperCoderFromScratch
@SuperCoderFromScratch Жыл бұрын
Thanks so much for this comment!
@martindimitrov8547
@martindimitrov8547 4 жыл бұрын
brilliant, well-done sir!
@SuperCoderFromScratch
@SuperCoderFromScratch 4 жыл бұрын
Thanks so much!
@TheThugzman
@TheThugzman 3 жыл бұрын
Sign after adding the Exception @16:42 etc the Json in these two code are Red which are Json.parse & Jsonfrom etc JsonNode conf = Json.parse(sb.toString()); myCurrentConfiguration = Json.fromJson(conf , Configuration.class);
@SuperCoderFromScratch
@SuperCoderFromScratch 3 ай бұрын
I hope you managed to get this working
@HarshRaj-fp6pv
@HarshRaj-fp6pv 3 жыл бұрын
This video was very helpful, thankyou!
@SuperCoderFromScratch
@SuperCoderFromScratch 3 жыл бұрын
Hey Harsh, You're so welcome!
@akshitapradeep7115
@akshitapradeep7115 4 жыл бұрын
Thanks for making this. So informational. Really helpful
@SuperCoderFromScratch
@SuperCoderFromScratch 4 жыл бұрын
Thanks so much for the feedback! :-D
@biswajit_rout_369
@biswajit_rout_369 11 ай бұрын
WOW DUDDE PLZ UPLOAD MORE
@SuperCoderFromScratch
@SuperCoderFromScratch 3 ай бұрын
Will try!
@filipec.2199
@filipec.2199 3 жыл бұрын
Excelent content. Congrats. :) You got me wondering... why did you use a StringBuffer to read the config file when you could have used a BufferedReader, for instance? Keep up the nice work, well done.
@SuperCoderFromScratch
@SuperCoderFromScratch 2 жыл бұрын
Good question! I haven't looked at this code in some time, but might just have been what occured to me at that particular time. Like I've tried to say on this series, my way isn't the only way to go about things. I'm sorry there is not better answer :)
@andrewbyers1313
@andrewbyers1313 3 жыл бұрын
what's the reason that com.fasterxml.jackson.core is not able to be found in my IDE? I can't understand where the error is coming from
@SuperCoderFromScratch
@SuperCoderFromScratch 3 жыл бұрын
Would need a bit more details on this. Did you add this as a depencency on the maven pom ?
@roberts708
@roberts708 2 жыл бұрын
@@SuperCoderFromScratch have the same issue, maven says dependency not found for fasterxml.jaskcon.core
@roberts708
@roberts708 2 жыл бұрын
fixed the issue vis File>invalidate chaches> restart
@egehurturk6209
@egehurturk6209 4 жыл бұрын
What is web root? Why do you use web root in your Configuration class? Thanks
@SuperCoderFromScratch
@SuperCoderFromScratch 4 жыл бұрын
Hey Mr. H . Webroot is going to be the place where the HTML files that are going to be served by the Web Server are placed.
@fann8935
@fann8935 2 жыл бұрын
Hai can u pls let me know what is the version of IntelliJ you used for this coding? I need to know it urgently for my project work..expecting a fast response..thank you :)
@SuperCoderFromScratch
@SuperCoderFromScratch 2 жыл бұрын
Hey, I really couldn't tell you to be honest. Was so long ago. I know that I use community edition for these videos tho.
@ForChiddlers
@ForChiddlers 3 жыл бұрын
how can the reading of a json file into a json object be so complicated...
@SuperCoderFromScratch
@SuperCoderFromScratch 2 жыл бұрын
we are reading a Json object into a java object. That is what takes more work. If you don't need to map tje json object to a pojo, then there are easier ways.
@TheThugzman
@TheThugzman 3 жыл бұрын
Well if you don't know the Shortcut keys like he do this video ain't for you lol I basically just give up after @18:50
@SuperCoderFromScratch
@SuperCoderFromScratch 2 жыл бұрын
This is actually really good feedback! I'll try to refrain for shortcut keys in the future. But still, most of the shortcut keys I use are for automatic code completion and boiler code generation... nothing too fancy.
@giovanniangaroni7649
@giovanniangaroni7649 3 жыл бұрын
does this method still work? it gives mi those problems: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at Gio_A.SaS.Server.config.ConfigurationManager.loadConfigurationFile(ConfigurationManager.java:39) at Gio_A.SaS.Server.HttpServer.main(HttpServer.java:9)
@giovanniangaroni7649
@giovanniangaroni7649 3 жыл бұрын
i solved (i put a macro on - click and i didn't put - in the while)
@SuperCoderFromScratch
@SuperCoderFromScratch Жыл бұрын
I just picked this up today, ran the code and it works. There must be something wrong on your side.
@SuperCoderFromScratch
@SuperCoderFromScratch Жыл бұрын
ahh ! ;) that would be it
@salExpolres
@salExpolres 4 жыл бұрын
Thanks for you effort. this is so helpful. I have a question about com.fasterxml.jackson.core. It is in red color, so I think something wrong with this. Should I import it? Should I have such a file in my package?
@SuperCoderFromScratch
@SuperCoderFromScratch 4 жыл бұрын
Hey, are you still having this problem?
@salExpolres
@salExpolres 4 жыл бұрын
@@SuperCoderFromScratch I fixed it. Thanks! Waiting for part 6.
@eduardkutnik1387
@eduardkutnik1387 4 жыл бұрын
@@salExpolres How did you fixed that problem? still can't get over it
@salExpolres
@salExpolres 4 жыл бұрын
@@eduardkutnik1387 in pom.xml: right click> generate > Dependency > search for fasterxml.jackson
@annammanisai4076
@annammanisai4076 3 жыл бұрын
@@salExpolres this doesn't work what to do now
@nicolahearn4294
@nicolahearn4294 Жыл бұрын
Who is this aimed at? It says create a simple http server but this is definitely not for newbies! 😥 I don't feel like anything was explained very well and oftentimes the code is right at the bottom of the screen so it's difficult to see because of the video progress bar.
@SuperCoderFromScratch
@SuperCoderFromScratch Жыл бұрын
Hi @nicolahearn4294, that is a good and fair question. I would say this was intended for people who are curious and know how to program a bit in Java. Would it be possible just to let me know for example a bit that you thin was not very well explained, just so I can have an idea of where you are coming from? Also, thanks for the feedback of the video screen and code placement, I'll try to be better.
@Isweir
@Isweir 3 жыл бұрын
Pain in the neck, on node, you download it and use one line and done you get a server
@SuperCoderFromScratch
@SuperCoderFromScratch 3 жыл бұрын
Hey @Wei Lin, I think you missed the point. That is not making a webserver in node, it is using a webserver in node. You could do the same with Java, import a webserver lib, and be done with it. This tutorial is : if you would like to create a webserver by yourself, just to know how it is done, then follow along. What you are saying is like: "How to make an Operating System?" , you just download one and install it...... which is not exactly "making" and operating system, is it? :)
@andrewcbuensalida
@andrewcbuensalida 3 жыл бұрын
really bad at explaining the code. the pace is way too fast
@SuperCoderFromScratch
@SuperCoderFromScratch 3 жыл бұрын
Hi there! Really, thanks for the feedback! Was it just the pace, or is there something more you feel could be improved! Please do let me know, all feedback is important, I promise I'll try to improve
@stillbald5827
@stillbald5827 3 жыл бұрын
This video does move quickly, and with a minimum of explanation, but some of us prefer this style. I just pause when I have a question or I want to Google a something. This isn't an entry level video and I appreciate that.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
HTTP in Java, Session 1 - Setting up a server and response
26:25
My Geeky Thoughts
Рет қаралды 10 М.
Java Socket Programming Client Server Messenger
16:28
WittCode
Рет қаралды 110 М.
Java Sockets - Sending Serialized Objects/Classes Networking
9:21
Neil's Tutorials
Рет қаралды 20 М.
Java socket programming - Simple client server program
8:58
ThenisH
Рет қаралды 608 М.
Chat application in java (client+server) sockets
10:28
einstein06
Рет қаралды 160 М.
File transfer program in java using TCP made Simple
9:31
Thecodersbay
Рет қаралды 99 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.