检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]华侨大学计算机科学与技术学院,福建厦门361021
出 处:《华侨大学学报(自然科学版)》2016年第1期92-97,共6页Journal of Huaqiao University(Natural Science)
基 金:福建省厦门市重大科技计划项目(3502Z20131019)
摘 要:为了解决目前Java主流模型-视图-控制器(MVC)框架日益庞大,从而导致性能低下的问题,提出了一个轻量级的MVC框架.该框架利用面向方面编程(AOP)技术实现了横向业务的剥离,采用控制反转设计模式实现了模块间的最低耦合,并通过Java反射技术实现了数据库记录与Java对象的自动转换.实验结果表明:该框架以仅仅70KB左右的JAR包实现了比其庞大数百倍的类似框架的主要功能,同时支持网络应用和移动应用的开发,具有更高的执行效率.To solve the problem of low performance caused by gradually increased size of the most popular Java MVC (Model-View-Control) frameworks, a novel light-weight MVC framework is presented. In the proposed framework, AOP(Aspect Oriented Programming) technology is used to deal with the cross-cutting business logic, and Inversion-of- Control pattern is adopted to achieve the lowest coupling among modules. Meanwhile, Java reflection technology is used to transfer a database record to a Java object automatically. The experimental results show that although the JAR package of the proposed framework takes only around 70 KB, it not only realizes all the primary functions of the similar frame- works whose size are hundreds of times more massive, but also supports the development of both web application and mo- bile application with higher execution efficiency.
关 键 词:JAVA反射 依赖注入 控制反转 模型-视图-控制器框架 面向方面编程 移动应用开发
分 类 号:TP393.01[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.144.158.54