Re: Caching the result of an EL expression evaluation with in a lifecycle

2009-06-26 Thread Jeremy Wilson
--Original Message-- From: Sam Witty To: dev@myfaces.apache.org ReplyTo: MyFaces Development Sent: Jun 25, 2009 9:36 PM Subject: Caching the result of an EL expression evaluation with in a lifecycle If you have the following code: h:h:outputText#{someBean.user.firstName}/h:outputText

Re: Caching the result of an EL expression evaluation with in a lifecycle

2009-06-26 Thread Alan Hancock
Use JPA to get the data. You'll need a service and an entity object. Then your backing bean can use the service layer to retrieve the entire object. This approach handles caching for you and is much more scalable -Alan via iPhone On Jun 26, 2009, at 5:56 AM, Jeremy Wilson