Method #2 is generally the preferred method for allowing Carbon to locate the
root of the configuration tree. It allows this information to be contained
within your project's deployment (a JAR, EAR, etc.) and also allows the root
link document to be switched to a different type (classloader, jndi, etc.)
without significant change to the project.
Method #3 often serves as a fallback method when a project knows that its
configuration will always be located on the filesystem. The project can
still make use of the convenience of classloading the information by
placing the deployment property for
For more information about links see
Advanced Usage - Links.