I am writing application in Java. It has 2 parts, server and client. I need to communicate between server and client (secure using SSL). I don't have any other non-Java app connected to server (in long future too not), so I am not dependent on someone else's API.
Most of the data will be strings, numbers, and other "common" data types.
Is it good idea to use Java Serialization to communication between server and client? Or "good way" is use SOAP / XML / RPC / REST / ... ?
I found "Hessian binary web service protocol" is it good or is it waste of time?
Thank you for help. This is my first bigger client-server app.