Dwr对远程方法的批量调用(摘)

DWREngine.beginBatch();//批量调用减少对服务器的访问次数  
            DWRUtil.useLoadingImage("images/progressbar_green.gif");  
            DWRUser.getUserById(userId,doUser);  
            DWRArticleType.getTypeByUserId(userId,doArticleTypeList);  
            DWRArticleComment.getLastCommentByUserId(userId,doArticleLastComment);  
            DWRArticle.getArticleList(userId,typeId,"1",doArticleList);  
DWREngine.endBatch(); 

你可能感兴趣的:(DWR)