Data comes to user as HttpResponse which is nothing but a string of data.
It is our responsibility to convert this to
java data type before using it .
If you are using frameworks like Struts2 , frame work (params interceptor) take the responsibility of converting it to java data type