I am in dilemma. I am using ServerSocket to learn and ServerSocketChannel for production. But, new programmer from Bootcamp only learn popular framework to boostrap their career. Should I continue my study? I have learnt on how to do HTTP upgrade request and the WebSocket protocol. Right now, I decided to learn on how to do TLS handshake and encrypting the data with Java SE (14 packets back and forth) + 2 packets for HTTP request and response. #tech
why reinvent the wheel? just use spring rest if u r a java dev
Why to reinvent the wheel?
Just learn the basics of the HTTP protocol and APIs in easy to use library such as OkHttp .. No one writes code in FAANG using bare bone networking APIs such as ServerSocket (Except in rare and specific circumstances) No extra points for knowing a framework deeply. Instead focus on Algorithm, data structures and practice on sites such as Leetcode. That is what will help you to land software Engineer offer at FAANG.
I believe knowing framework and language helps once you are in FAANG
Ofcourse, knowing any framework is always helpful. But if one were to optimise their time in getting FAANG offer, it is better spend it in grinding LC, especially as a newbie.
Why the hell are you using Java
its not a choice for many hah
You are implementing your own web server starting from sockets for use in production?