applet sandbox mock question

lucy hu

Ranch Hand

Posts: 60

posted 15 years ago

this one is from Mr. Jaworski's mock exam: One of the restrictions of the applet sandbox is that an aappplet is not allowed to make a network connection to a host other than the one from which it was loaded. which of the following may be used to allow an applet to connect to other network hosts? A. A servlet that runs on the applet host and proxies connections to other network hosts B. A single applet that may be trusted to establish network connections to other hosts. C. The applet run as an enterprise bean D. HTTP1.1-compatible Web server. They seems all right to me, can anyone clear my confusion? Lucy

FengShuo Yu

Greenhorn

Posts: 2

posted 15 years ago

I will pick A as the answer. B. trusted doesn't mean the applet can connect to other host C. never heard of that. D. nothing to do with the question.

Originally posted by lucy hu:this one is from Mr. Jaworski's mock exam: One of the restrictions of the applet sandbox is that an aappplet is not allowed to make a network connection to a host other than the one from which it was loaded. which of the following may be used to allow an applet to connect to other network hosts? A. A servlet that runs on the applet host and proxies connections to other network hosts B. A single applet that may be trusted to establish network connections to other hosts. C. The applet run as an enterprise bean D. HTTP1.1-compatible Web server. They seems all right to me, can anyone clear my confusion? Lucy

Eduardo Cobian

Ranch Hand

Posts: 45

posted 14 years ago

Correct answer is B. You can gran a permission to stablish or accept conexions to/from different hosts.