From all the mock exams I have gone through, there were 2 particular questions/answers I did not understand.
The first is - inheritance allows you to restrict the bahavior of objects. I don't get this. Could somebody please help me with this.
The other one relates to an applet being downloaded to a client PC which sits behind a firewall. The questions/answers seem to imply that the applet could be automatically trusted by the firewall. Does this ring a bell with anybody?
"inheritance allows you to restrict the bahavior of objects."
I think this depends what perspective is taken. You could also say: "inheritance allows you to add behavior of objects."
Look for overriding / overloading.
Applet can be downloaded behind firewall by client browser. Applet runs in sandbox in client jre which restricts usage. You are permitted to take connections from applet to server it was downloaded. If firewall prevents it, then technique cannot be used.
Hope this helps.
SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
One of the answers I read said that if a firewall or server filters packets by ip address, it would be possible for a downloaded applet to be trusted automatically by the firewall/server.
Does this mean that if I download an applet from a particular site, e.g. http://mysite.com - it would be possible to setup rules on my firewall to ensure the applet it trusted automatically, i.e. user is not prompted to trust the applet. If so does it apply to all applets regardless of whether they are signed or not
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com