This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
Consider the scenario that you have some strings in your application. Whose value may change some time in future.
What would be the best possible solution for this? Using properties file and loading them through resource bundle or Using a java class which contains public static final strings for the changing values.