When you load data from ldap cache it in the request, next time the getter
is invoked check if this object exists in the request scope if it does,
don't load it again.

2007/9/27, Angel Miralles Arevalo <[EMAIL PROTECTED]>:
>
> Hi everybody, I have a perfomance problem with JSF. I have a java arraList
> attribute. This attribute have getter and setter methods. It is used to
> store LDAP users, so I have to access LDAP in getter method.
>
> Because of the lifecycle the getter is invoked twice, so LDAP access is
> twice too. The problem is my LDAP has around 15000 users. My web application
> is getting very slow.
>
> How can I customize this behaviour??
>
> Thanks in advanced.
>
> ------------------------------
>
> Sé un Mejor Amante del Cine
> ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
> <http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html>
> .
>

Reply via email to