while practicing writing codes I found that programs have some issues like in this code we prepare primitive types server endpoint but when I run the program even if i assign a string "web socket or any word" the web-socket for int and float type still returns the same string message they don't show any error means that code is not working correctly as at server endpoint we clearly mentioned that it should take int or float type like wise I have also found errors in other code too till now I have checked only 10 of it looks like I have to go through each and every one so please give me correct solution so that I can clear my concepts more thank you
https://github.com/javaee-samples/javaee7-samples/tree/master/websocket/endpoint-javatypes
while practicing writing codes I found that programs have some issues like in this code we prepare primitive types server endpoint but when I run the program even if i assign a string "web socket or any word" the web-socket for int and float type still returns the same string message they don't show any error means that code is not working correctly as at server endpoint we clearly mentioned that it should take int or float type like wise I have also found errors in other code too till now I have checked only 10 of it looks like I have to go through each and every one so please give me correct solution so that I can clear my concepts more thank you