A message resource bundle can be used for more than just localization—it also can save you time during application maintenance. For example, if you use the same text messages or labels throughout various parts of your web site or application, when one or more of these values need to change, you need make the change only in a single location. Even if you don't have internationalization requirements, you still should use resource bundles.
ResourceBundle除了可以实现国际化,还可以在其中定义一些类似全局变量的东西,以供Application访问。