I have created a chat application using timer to get response from database server on every 1 second. But this is not a good step for real time chatting. Every time I request to server that any message has or not. I need push service where if new updates is available then server itself send message to client no need to client to request to server.
I have no idea about how to do this type of notification service.