Regarding protection domains, how can objects in one domain automatically discover objects in another domain?

What will be an ideal response?


Objects in one domain cannot automatically discover objects in another domain. In fact, all Java runtime code is considered system code and runs inside the unique system domain. Each application or applet runs in its own domain according to the current effective policy. The JVM ensures that objects in any nonsystem domain cannot automatically discover objects in another nonsystem domain. This partition is achieved by careful class resolution and loading such as using different ClassLoaders for different domains.

Computer Science & Information Technology

You might also like to view...

The term “defensive programming” refers to all of the following except:

a. ensuring that a division by zero does not take place b. ensuring that input data is within the proper range c. ensuring that there are no compound conditions in a selection structure d. ensuring that a negative number is not input to the Sqrt function

Computer Science & Information Technology

Fill in the blanks to complete the HTML code for referring to an external style sheet.

``` <____ rel="stylesheet" type="________" _____="mystyle.css" /> ```

Computer Science & Information Technology

Excel's ________ function finds the middle value from a range of values

Fill in the blank(s) with correct word

Computer Science & Information Technology

A(n) ________ is made up of two or more LANs that are far apart.

What will be an ideal response?

Computer Science & Information Technology