myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Torrefranca <storrefra...@branders.com>
Subject Re: Loading application scoped managed beans on server startup
Date Tue, 20 Feb 2007 14:58:22 GMT
Hows that may I ask?  A getter needs to be called in order to populate a 
List that is DB driven

List theList = null;

public List getTheList(){
    if(theList == null)
       theList = getTheListFromDB();

    return theList;
}




David Delbecq wrote:
> a webapp context listener
> En l'instant précis du 02/20/07 15:28, Steve Torrefranca s'exprimait en
> ces termes:
>   
>> what is the best way to do this?
>>
>> thank you
>>
>> -Steve
>>     
>
>
>   


Mime
View raw message