Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet sandbox mock question

 
lucy hu
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct answer is B.
You can gran a permission to stablish or accept conexions to/from different hosts.
 
Shankar Ranganathan
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Trusted APplets have no security restrictions .So B is right
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic