結局動き出したけど

とりあえず、Employee検索画面表示から一覧表示までの機能ができた。
けど、確かにねーって感じ。よく考えたら自動生成すればいいんだよねー。


でも一応動いたので。

@StrutsAction(validate = false)
public interface SearchAction {

    @StrutsActionForward(path = "/pages/employee/search.html")
    String SUCCESS = "success";

    @DelegatingService(service = SuccessService.class)
    String execute();

    @DelegatingService(service = GetDepartmentsService.class)
    DepartmentView[] getDepartments();

}

@StrutsAction(name = "employeeSearchForm", validate = false, scope = ScopeType.SESSION)
public interface SearchPageAction {

    @StrutsActionForward(path = "/employee_create.do")
    String CREATE = "create";

    @StrutsActionForward(path = "/employee_list.do")
    String LIST = "list";

}

@StrutsAction(name = "employeeSearchForm", scope = ScopeType.SESSION, input = "/employee_search.do")
public interface ListAction {

    @StrutsActionForward(path = "/employee_search.do")
    String ERROR = "error";

    @StrutsActionForward(path = "/pages/employee/list.html")
    String SUCCESS = "success";

    @DelegatingServices( {
            @DelegatingService(service = GetEmployeeInfosService.class, args = { "employeeSearchForm" }, var = "result"),
            @DelegatingService(service = CheckSearchResultService.class, args = { "result" }) })
    String execute();

    @DelegatingService(service = GetArrayValueService.class, args = { "result" })
    EmployeeInfoView[] getEmployeeInfos();

}

@StrutsAction(name = "employeeKeyForm", validate = false)
public interface ListPageAction {

    @StrutsActionForward(path = "/employee_inquire.do")
    String INQUIRE = "inquire";

    @StrutsActionForward(path = "/employee_search.do")
    String BACK = "back";

}

public interface GetDepartmentsService {

    @DelegatingService(service = DepartmentDao.class, method = "findAll")
    DepartmentDto[] execute();

}

public interface GetEmployeeInfosService {

    @DelegatingService(service = EmployeeInfoDao.class, method = "find")
    EmployeeInfoDto[] execute(EmployeeSearchDto dto);

}

public interface DepartmentDao {

    public Class BEAN = DepartmentDto.class;

    public List findAll();

    public DepartmentDto findDto(DepartmentDto dto);

}

public interface EmployeeInfoDao {

    public Class BEAN = EmployeeInfoDto.class;

    public List find(EmployeeSearchDto dto);

    public EmployeeInfoDto findDto(EmployeeInfoDto dto);

}

ほぼインターフェースのみで動き出した!!あとはエラー処理だー。