Re: Annotation based configuration – performance

Splash Forums PrettyFaces Users Annotation based configuration – performance Re: Annotation based configuration – performance

#22300

Hey phelset,

PrettyFaces reloads it’s configuration on a regular basis to allow developers to update the configuration without restarting the server. But this is only done in project stage “development”. So this shouldn’t have any effect on production performance.

But if I remember correctly you can disable this behavior by setting the following servlet context parameter in your web.xml:

<context-param>
<param-name>com.ocpsoft.pretty.DEVELOPMENT</param-name>
<param-value>false</param-value>
</context-param>

Does this solve your performance problem?

Christian