title: JSF c:set evaluation
body: <pre><code>&lt;c:set var="product" value="#{productDAO.findByCode('code')}"  /&gt;
  #{product.name}
  #{product.name}
  </code></pre>
  
  <p>I would like to retrieve an object from the DB and store into a variable once.
  However, I find the call to the DB is made everytime I access product.
  In the example above there are two calls to the DB.</p>