Search This Blog

Friday, July 21, 2006

What are some advantages and disadvantages of Java Sockets?

Some advantages of Java Sockets:
Sockets are flexible and sufficient. Efficient socket based programming can be easily implemented for general communications. Sockets cause low network traffic. Unlike HTML forms and CGI scripts that generate and transfer whole web pages for each new request, Java applets can send only necessary updated information.

Some disadvantages of Java Sockets:
Security restrictions are sometimes overbearing because a Java applet running in a Web browser is only able to establish connections to the machine where it came from, and to nowhere else on the network Despite all of the useful and helpful Java features, Socket based communications allows only to send packets of raw data between applications. Both the client-side and server-side have to provide mechanisms to make the data useful in any way.

1 comment:

HotBlogs said...

Hi, Good article on some high level advantages and disadvantages. Following link has given few more advantages and disadvantages for newbies. May be useful for the readers of this blog specially new programmers and students.

http://java-work.blogspot.com/2008/08/java-advantages-and-disadvantages.html