HTTP is the protocol that how client server communicates. HTTP is on
top of TCP/IP stack. correct?
I want to ask if there are alternatives to HTTP? web services are using
HTTP also?
please advise. thanks!!
What are the your goals? HTTP is often used as a base because it is not
only extensible, but easy to trim down too. HTTP variations include
WebDAV for file access, SOAP for system-independent remote method
invocation, SIP for phones, and many more.
There are also older protocols like FTP, SMTP, NNTP, Gopher, Telnet,
etc. I think SFTP has its own protocol too. There's serialized Java
objects over RMI.
SOAP and Java RMI are common for web services but software development
for them can be so labor-intensive that few find it worth the effort.
It would have to be a big, long-term project that's dedicated to web
services before you'd start to see gains in development efficiency. You
can always make up your own protocol for smaller tasks. Utilities like
Castor make it easy to send complex data as XML streams.