32333435363738
final TodoDao dao = database.onDemand(TodoDao.class); dao.createTableIfNotExists(); environment.addResource(new TodoResource(dao)); environment.addResource(new HtmlPageResource()); }