예제 #1
0
 public int GetRewardListCount(HashMap<String, String> map) {
   int total = 0;
   Context weblogicContext = ejbproxy.getInitialConnection();
   RewardListService serviceClient;
   try {
     serviceClient = (RewardListService) weblogicContext.lookup("RewardListBean/remote");
     total = serviceClient.GetRewardListCount(map);
   } catch (NamingException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   }
   return total;
 }