检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:刘淑华[1]
机构地区:[1]内蒙古电子信息职业技术学院计算机科学系,内蒙古呼和浩特010070
出 处:《计算机应用与软件》2013年第7期143-146,共4页Computer Applications and Software
基 金:江苏省自然科学基金项目(BK2011152)
摘 要:在Java异常机制的基础上,构建一个J2EE项目应用中错误处理的通用框架模型,并用该框架模型解决J2EE项目中错误处理中普遍存在的问题。对错误进行统一管理,在一定意义下将错误封装成异常,然后将异常抛出到一个集中的位置进行统一处理。让错误处理保持简单和直观,使开发人员可以专心于开发业务逻辑,而不是把时间浪费在编写错误处理这样的模板代码上。程序的可读性、可维护性、可修改性大大提高,而且也提高了J2EE应用程序的健壮性。Based on Java exception mechanism, we construct a generic framework model for errors handling in J2EE projects application, and use this framework model to have solved the common problems of errors handling in J2EE projects. The errors are made uniform management, and are encapsulated into exceptions in a certain sense, then the exceptions are thrown to a centralised location to be processed in a uniform way. The errors handling is maintained simple and intuitive, so that the developers can concentrate on developing the business logic rather than wasting time in compiling such template codes as the errors handling. The framework model makes the readability, maintainability and modifiability of the program greatly improved, and the robustness of the J2EE application is also improved as well.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222