Wouldn't it be nice if a Java compiler could make sure that our resources were present, before run-time? In this way, we trade off a run-time error for a compile-time error. Some techniques are presented that allow resources to be integrated directly into the source code.
Journal of Object Technology
Lyon, Douglas A., "Resource Bundling for Distributed Computing" (2005). Engineering Faculty Publications. 44.
Douglas Lyon, “Resource Bundling for Distributed Computing”, Journal of Object Technology, Volume 4, no. 1 (January 2005), pp. 45-58