It also provides a place for every Java class on the Internet without name clashes. Dynamic class loading refers to the ability of a Java class to be loaded by request at run time. Java applications with access to the network, such as applets, can be shipped with a minimum configuration and additional components retrieved as desired. A third item that ties XML and Java together is JavaBeans technology. Each JavaBean has a set of properties that clients can get or set.
Properties can be either single objects or arrays.
Beans are useful for expressing XML because they can have a straightforward data model, but can be subclassed to exhibit specific behaviors. We'll see JavaBeans again shortly when we consider XML tree-walking. To tie this all together, consider the following scenario. Suppose you're developing a distributed game in which each participant has a local client, and they communicate by sending XML messages to each other. By creating the messages in XML, you have effectively freed the clients from being tied to one programming language or the other.