Let say, we have a event management product for an user. One feature is, user could self-define new field to accommodate his own need, for example, he could add "do I take morning exercise today? Yes Or No " checkbox to the system, afer this, the new field will show up on the screen and its column is added to database without restart
How to design this system ? what technology is good ?
Usually we will define POJO class and mapped to database and show them on the screen. Here problem, if user dynamically add a new filed, we can't modify POJO in the runtime.
This is a challenge.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus