Good day! Such a task, you need to receive and send messages, and then display them beautifully, for example, as in VK applications for phone or Skype. To display messages, I will use LitVeiw, which will use the collection of MessageMessage objects. In the Message class there will be a method that will receive messages and add them to the collection from the user and the Message Sender (from the network). I heard that you need to learn JavaEE and JMS to work with messages, or you can do without it.
- Where exactly do you send and where do you plan to receive? - Nofate ♦
- Planned messenger messages, send to the user via the network and receive, in general. Something similar to Skype - Mars
- Then you can take a ready-made JMS-server. Or develop your own protocol and write your server on sockets. - Nofate ♦
|