public <T> void process(final HttpServletRequest request, final HttpServletResponse response, final ModelMap model,
			final CallBackHandler callback) {
		Object jsonResult = null;
		CommonResp<T> serviceResult = null;
		try {
			serviceResult = callback.handle();

			if (serviceResult.isSuccess()) {
				jsonResult = callback.onSuccess(serviceResult, model);
			} else {
				jsonResult = callback.onFailed(serviceResult, model);
			}
		} catch (Throwable e) {
			logger.error("System Expection ", e);
			jsonResult = callback.onException(serviceResult, model);
		} finally {
			writeJsonResult(request, response, jsonResult);
		}

	}