Saturday, January 26, 2019

How to close telnet terminal in Linux and Windows (quit, exit not working)

The telnet is one of the most useful Linux networking commands, which is used to check if a server is listening on a particular port and it's whether up and running or not, but it's a little bit tricky to use, especially, if you are not using it on daily basis. Though I have used telnet before, when I use it after a long time, I actually forgot how to close the telnet terminal and how to get out of it. I tried every possible  Linux commands I can think of which is used to close, cancel a command, or exit from VIM editor in UNIX, like  Ctrl + C, quit, exit, q! and even the escape character '^]', only to realize that nothing is working. It may sound silly that an experienced developer cannot even come out of a telnet terminal but this is a true story. 

Sunday, January 6, 2019

Difference between application/x-www-form-urlencoded and multipart/form-data in HTTP/HTML?

Recently in one of the Java web developer interview, one of my readers asked about the difference between x-www-form-url-encoded and multipart/form-data MIME types. In HTTP, there are two ways to send the HTML form data to the server either by using ContentType application/x-www-form-urlencoded or by using multipart/form-data. Even though both can be used to send both text and binary data to the server there is a subtle difference between them. In the case of x-www-form-urlencoded, the whole form data is sent as a long query string.

Wednesday, January 2, 2019

Top 20 Books Java Programmers Can Read in 2021

Hello guys, Happy New Year 2021. We are already in New Year and while I am busy making my goals for 2021, I am also looking back on what I have done in the last year. One of the things which I would like to share with you guys is some of the books I have read last year on Java and related technologies and will continue to read in 2021. This includes books on Modern Java, Spring, Hibernate, Object-oriented programming, Algorithms, Soft skills, Microservice, Groovy, Scala, Agile, and UML, etc. If you haven't read them yet, you can very well read them this year, depending on what technologies and programming languages you are going to learn in 2021.