I am working on a web application in which data will be transfer between client & server side.
I already know that JavaScript int != Java int. Because, Java int
Java converts Integer to int and back automatically (unless you are still with Java 1.4).