String BUNDLE_NAME = "path.filename
ResourceBundle rsBundle = BundleFactory.getBundle(BUNDLE_NAME);
String viewText = rsBundle .getString("Text_Code");
I read in couple of Oracle forums that developers foound issue when they deploy this to standalone weblogic server. If its not working for you on standalone WLS server check if configurations are correct for resource bundle at Project Properties --> Resource Bundle.