Yes, it is allowed, and I think it is good practice. The projects I'm working with have global properties read from a file. This is good practice because you store it in one place, and if you need this information, you only need to enter your singleton bean. I think this is a good example of the Hollywood principle.
source share