摘要
分别运用文献资料法、实验法结合Java反射技术对高校体育成绩评测系统进行技术优化。结果表明:反射机制在本系统性能优化中使代码更加灵活,更加容易实现面向对象,大大地提高了程序的扩展性,实际优势表现为在不关闭系统前提下实现体育评测项目的切换;面向配置文件,降低了用户和开发者理解程序代码及执行流程的难度。建议:为了提高程序的可扩展性,反射机制是程序开发的普遍设计趋势和方向;为了更具体的描述配置文件中的信息,后期可使用XML结构性的标记语言进行数据的描述与封装,再使用dom4j解析XML文档更利于维护。
The paper uses the methods of literature review,experiment and the Java reflection technology to optimize the college sports achievement evaluation system. The results show that the reflection mechanism makes the code more flexible and object-oriented in the system performance optimization,and greatly improves the program’s expansibility. The actual advantage is to realize the switch of sports evaluation items without shutting down the system,and make it easier for users and developers to understand program code and execution processes based on profile. Suggestion: in order to improve the scalability of the program,reflection mechanism is the general design trend and direction of the program development;in order to describe the information in the configuration file more specifically,the XML structural markup language can be used to describe and encapsulate the data in the later stage,and dom4 J can be used to parse the XML document for better maintenance.
作者
戈俊
Ge Jun(Physical Education Department of Nanjing Forestry University,Nanjing 210037,Jiangsu,China)
出处
《体育科技文献通报》
2021年第10期41-42,54,共3页
Bulletin of Sport Science & Technology
基金
江苏高校哲学社会科学研究项目(项目编号:2019SJA0121)。
关键词
反射技术
高校体育
测评系统
性能优化
reflection technology
college physical education
evaluation system
performance optimization