[resolved] Loading properties on application startup
Hello team,
I need to load properties from properties file only once, when my talend application starts. This property file will be external to the application (not part of jar or war).
1. What would be the best approach to implement this scenario? I can load it via static java but is there any best practice in talend to do this?
2. In talend run time is there any folder that is part of the path environment variable? I.e. is there any directory where I can place my config files so that they can be accessible to the application without my having to provide full path i.e. by path relative to the root of runtime environment etc? so that in my upload mechanism/component I can say something similar to "load file from ./deploy/config" rather then "load file from C:/Talend/runtime/..."