protected static ResourceBundle bankBundle = ResourceBundle.getBundle("messages.EN.properties");
Is it possible to read properties with dot (.) extension properties name?
Actually ResourceBundle accepts only fully qualified base name of the bundle, with no file extension. In this case it will try to load the bundle of files like this
messages/EN/properties.properties