There are two reasons why accessing movie-describing files uses a
process that starts with the instance of the Class
class that serves
as the companion to the MovieAuxiliaries
class.
Recall that a companion instance of the Class
class is created by
the Java virtual machine when that virtual machine loads the
MovieAuxiliaries
class.
Thus, the virtual machine must know where the MovieAuxiliaries
class
is located. The resource locator starts looking for the movie-describing
file in the same location as that MovieAuxiliaries
class, assuming
that the movie-describing files are close toin a sense described in
Segment 836the method for reading those files.
Also, the virtual machine knows whether it is part of a browser; if it is, it deploys security rules different from those for standalone applications.