final List buildings = (List) ServiceUtils.executeService(userView, "ReadAllDomainObjects", args1);
final List buildings = new ArrayList((Collection) ServiceUtils.executeService(userView, "ReadAllDomainObjects", args1));
    public ActionForward prepare(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws Exception {        final IUserView userView = SessionUtils.getUserView(request);        final Object args1[] = { OldBuilding.class };        final List buildings = (List) ServiceUtils.executeService(userView, "ReadAllDomainObjects", args1);        Collections.sort(buildings, new BeanComparator("name"));        request.setAttribute("buildings", buildings);        final Object args2[] = { Campus.class };        final List campuss = (List) ServiceUtils.executeService(userView, "ReadAllDomainObjects", args2);        Collections.sort(campuss, new BeanComparator("name"));        request.setAttribute("campuss", campuss);        return mapping.findForward("viewBuildings");    }