0

Multiple clients need to send XML to the server. In this case, is it better to use Socket or HttpServlet? or there is no obvious difference in developing and performance no matter using Socket or HttpServlet?

user207421
  • 305,947
  • 44
  • 307
  • 483
Vicky
  • 1
  • 2
  • Send to what server? If you already have a servlet container, it makes sense to use a servlet. If you don't, it doesn't. – user207421 Feb 16 '16 at 02:38
  • Possible duplicate of [rmi vs servlets vs sockets](http://stackoverflow.com/questions/5798473/rmi-vs-servlets-vs-sockets) – DonyorM Feb 16 '16 at 02:51
  • I think it largely depends on exactly what you need to send, who you're sending too, and how much effort you want to put into sending. See the post linked above for some basic descriptions on various kinds of connection protocols. – DonyorM Feb 16 '16 at 02:52
  • send XML to a weblogic server. – Vicky Feb 16 '16 at 03:37

0 Answers0