Posts

Showing posts from June, 2017

SOAP REST SERVLET What is the difference?

This is more of a psychological question I think. What is psychological about this? These 3 things together represent something very broad, so broad it may not even share a name. Phew.. differences between boys and girls. Between cat and dog. Pencil and pen. At least those things are close. Asking SOAP vs REST vs SERVLET is like asking 'bat' vs 'bat shit crazy'. So let's take them one by one, then we shall find out the underlying relationship. SOAP: Soap is a construct. The construct demands you to use the Internet in a particular way to achieve your job at hand. It suggests that you send human readable data like XMLs through the Internet using mainly HTTP and SMTP protocols. So if you want to make a blog application. You will send the blog posts as XMLs to your browser which shall be equipped with a JavaScript file to understand and make sense of this fury of information. Coming in on the HTTP and SMTP protocol in extensive human readable formats like XML. Is it
I was wondering, why can't I read .class files generated by the compiler on my notepad. I saw some strange figures between infrequent english alphabets. There were even some paragraph changes. What is this? What is a .class file? Why are there random alphabets in it? What is happening? Can I read this file somehow?? Well basically how a java program gets executed is divided into some steps. Starting of these is the conversion of java code written in the Java Programming language which is quite human readable. Human readable... Hmmm. Does that mean the machine cannot understand it? Isn't the machine showing me all this, isn't it supposed to know? Yes the machine is showing you all this. But you have to understand a machine just understands instructions. And your machine has a lot of them. Actually its just being fed with shit load of instructions, a couple of billions every second approximately. Speak of a hardworking individual. So when you tried to read it on your