I am currently working on a portal and I need to use Liferay as the portal server.
My application will have some global settings that I need to get in all portlets of my portal.
What is the best way to download such configurations? I want these configuration parameters to be read from a configuration file / database. but it should be read only once at application launch. I do not want the settings to be read from the database / file for each request.
Also, I would use speed frames for templates, can I read the same global variables in my speed templates?
Can I put these global variables in my portal-ext.properties file, and if so, how can I load the default values ββin it?
Any other approaches will also help,
Thank you in advance
source share