banq大哥来看看

我在学习jpetstore
jdon框架中文注释是乱码显示。
一个接口继承个空接口是什么用处?
一个类来实现一个空接口又是什么用处,或者是什么设计思想。(我想应该是command模式,不知道对不对)
接口里的方法的保护级别都是默认的 default 我一般用的是public 这有何不同?

<<import com.jdon.controller.events.EventModel;
void deleteCartItem(EventModel em);>>这又是怎么的,
我原来一般是这样用,public void removeCartItem(CartItem cartItem);你这样做又是什么设计。
我看源代码没有看到ModelIf这个接口,所以不了解他们, 英语不怎么好,也才刚接触jdon框架。有很多疑问 请banq大哥多多指教。 另问那有ibatis的源码下载。网上找了哈没找到在sqlMapDaoTemplate.queryForList()的4个参数重载版本看不懂是什么意思,

public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
ActionErrors actionErrors = null;
ArrayList errorList = new ArrayList();
doValidate(mapping, request, errorList);
request.setAttribute("errors", errorList);
if (!errorList.isEmpty()) {
actionErrors = new ActionErrors();
actionErrors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("global.error"));
}
return actionErrors;
}

public void doValidate(ActionMapping mapping, HttpServletRequest request, List errors) {
}
在BaseForm里为何调用一个什么也不做的方法 代码如上。有什么用意。