Imagine an application you want to create for/with 1 million users. What protocol do you use for this volume of connections?
my options for server side are :
WebSocket ( jServer library - b4j )
MQtt ( I run a broker or MqttClient )
Node JS ( my knowledge is weak about it )