1.

What Is The Applet Client Restriction?

Answer»

Java places restrictions on an APPLET. One restriction is that an applet cannot make a SOCKET connection to any server other than the one it came from (the server from which the browser downloaded the applet). Therefore, you cannot, for example, make a generic MAIL TOOL applet unless you plan to support it with SMTP and POP3 mail servers on the same machine that stores the applet. Also, because of this restriction, you cannot have two applets connect directly together, so that two users can play a game. Consequently, you should always take applet restrictions into consideration when you design a Java-server application with applets.

Java places restrictions on an applet. One restriction is that an applet cannot make a Socket connection to any server other than the one it came from (the server from which the browser downloaded the applet). Therefore, you cannot, for example, make a generic mail tool applet unless you plan to support it with SMTP and POP3 mail servers on the same machine that stores the applet. Also, because of this restriction, you cannot have two applets connect directly together, so that two users can play a game. Consequently, you should always take applet restrictions into consideration when you design a Java-server application with applets.



Discussion

No Comment Found