I am trying to decide should I use the
Reflection API or not in one of my projects.
And I would like to hear the pros and cons of using Reflection for a
J2EE web app. from your experiences?
The main reason for me to use the
Reflection API is to create new Class fields (members) during runtime.
I need to define new fields for the class I coded before runtime. (compiled class) or to create new classes.
Is that operation allowed or provided by Refection API or Can I only call Classes' compiled methods such as private methods and fields during runtime?
Regards,
Tuna TÖRE