java - In building chat application, is Web Service better to use than JMS, RMI, or Socket programming? -


in building java chat application, web service better use jms, rmi, or socket programming?

my vps has ff: 512mb memory, 1 core processor, 20gb ssd disk , 1tb transfer.

my target number of users in same time is, 5-30.

i think way handle changes in chatbox using polling. vps can handle load if using web service?

if going use other technologies rmi or jms? vps can handle it?

if have web frontend chat, using websockets (if want use java on backend, it's supported jetty other http servers) instead of polling more common approach.

definitely no jms,rmi or sockets, if client browser, if it's desktop client using based on sockets , custom protocol easiest way go.

the number of connections vps handle dependant on many factors, included how performant application be.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -