List infoExecutionYears = (List) ServiceUtils.executeService(null, "ReadExecutionYearsService",
Collection infoExecutionYears = (List) ServiceUtils.executeService(null, "ReadExecutionYearsService",
    public ActionForward prepareSearch(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws Exception {        Object args[] = {};        List infoExecutionYears = (List) ServiceUtils.executeService(null, "ReadExecutionYearsService",                args);        CollectionUtils.collect(infoExecutionYears, new INFO_EXECUTION_YEAR_INCREMENTER());        request.setAttribute("infoExecutionYears", infoExecutionYears);        DynaActionForm finalWorkForm = (DynaActionForm) form;        String executionYearOID = (String) finalWorkForm.get("executionYearOID");        if (executionYearOID == null || executionYearOID.equals("")) {            InfoExecutionYear infoExecutionYear = (InfoExecutionYear) ServiceUtils.executeService(null,                    "ReadCurrentExecutionYear", args);            if (infoExecutionYear != null) {                executionYearOID = infoExecutionYear.getIdInternal().toString();                finalWorkForm.set("executionYearOID", executionYearOID);                request.setAttribute("finalDegreeWorksForm", finalWorkForm);            }        }        args = new Object[] { new Integer(executionYearOID), TipoCurso.LICENCIATURA_OBJ };        List infoExecutionDegrees = (List) ServiceUtils.executeService(null,                "ReadExecutionDegreesByExecutionYearAndType", args);        Collections.sort(infoExecutionDegrees, new BeanComparator(                "infoDegreeCurricularPlan.infoDegree.nome"));        request.setAttribute("infoExecutionDegrees", infoExecutionDegrees);        return mapping.findForward("show-final-degree-work-list");    }