@GET
@Produces(TEXT_HTML + "; charset=utf-8")
public Viewable fortunes() {
final Session session = sessionFactory.openSession();
final List fortunes = new ArrayList(session.createCriteria(Fortune.class).list());
fortunes.add(new Fortune(0, "Additional fortune added at request time."));
Collections.sort(fortunes);
session.close();
return new Viewable("/fortunes.mustache", new Scope(fortunes));
}