检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]湖南大学信息科学与工程学院
出 处:《计算机应用研究》2015年第3期776-780,共5页Application Research of Computers
基 金:国家自然科学基金资助项目(61272401;61173167);湖南省科技计划重点项目(2013GK2003)
摘 要:异常处理是保障J2EE应用系统健壮性的重要手段。随着J2EE应用系统业务逻辑日益复杂和规模不断扩大,传统的异常处理仅依赖Java异常处理机制,缺失层次性和分类性,存在异常处理散乱、扩展困难和异常日志混乱等问题。从J2EE应用系统架构的层次性着手,建立异常层次结构处理框架,基于分层分类策略提出一种J2EE应用系统的异常处理方法。结合大量实例,对异常层次处理框架的有效性、可扩展性进行验证。实验结果表明,异常层次处理框架对异常处理具有较好的统一性与良好的扩展性,并且能有效地克服异常日志重复记录的问题。简化J2EE应用系统异常处理,提高系统的可读性、可维护性及健壮性。Exception handling is an important means of guaranteeing the robustness of J2EE application system. With the in- creasingly complex business logic and the constantly expanded scale of J2EE application system, the traditional exception han- dling only depends on the exception handling mechanism of Java, lacking of hierarchy and classification, which exists prob- lems like the scattered exception handling, difficult extensions and confused exception log. Started from the hierarchy of the J2EE application system architecture, it established the exception hierarchy structure handling framework. Based on the hier- archical classification strategy, this paper proposed an exception handling method of J2EE application system. Combined with lots of examples, it validated the exception hierarchy structure handling framework in terms of the effectiveness and scalability of exception handling. The experimental results show that the exception hierarchy structure handling framework has better unity and favorable extensibility, and can effectively overcome the problem of recording repetition of the exception logs. It simplified the exception handling and improved the readability, maintainability and robustness of the J2EE application system.
关 键 词:J2EE应用系统 异常处理 异常层次结构 健壮性
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222