samedi 2 mai 2015

Will Java Annotations make the performace slow because of reflection?

If we use Java annotations will the reflection apis be called everytime to analyze those annotations? Wont that make the execution slow?

By everytime I mean whenever that flow is executed.

Example Case: IN Jersey we use the annotations @Get which is used everytime there is a get request on server. Does that mean that with every get request the reflection apis analyze that class for that annotation?





Aucun commentaire:

Enregistrer un commentaire