Usuage of Reflection API'


EJB programming & troubleshooting: Usuage of Reflection API'

  1. Usuage of Reflection API' (1 messages)


    The extensive usage of Reflection API's are a threat to the performance of the application?. We have an application with appr 1000 classes, which heavily using Reflection API's. Can this be a threat?

    Any sort of help to this matter is appreciated


    Threaded Messages (1)

  2. Usuage of Reflection API'[ Go to top ]

    If you are concerned that the speed of reflective operations is responsible for a particular task being too slow, I suggest:

    - identify which reflective operations are used in the task, and how many times.

    - measure the time just these operations take.

    - see if that time is a significant proportion of the time your task takes.