Complete server implementation in JEE for SMSSync gateway application