科研信息化技术与应用
科研信息化技術與應用
과연신식화기술여응용
E-science Technology & Application
2013年
4期
82-88
,共7页
代码生成器%SSH2%访问控制管理
代碼生成器%SSH2%訪問控製管理
대마생성기%SSH2%방문공제관리
code generator%SSH2%access control management
代码生成技术的出现,为满足软件系统中重复性代码的自动生成、保障软件系统的健壮性和可维护性等需要提供了解决方案。目前业界针对Java EE企业应用的代码生成器在系统功能整合方面还存在不足,依赖于程序员基于生成的原型代码进行后续开发。本文提出了一个基于SSH2与权限管理框架Apache Shiro整合的代码生成器方案,有效解决了复杂业务中的多表关联以及权限管理问题,并探讨了实现过程中几个关键技术问题。
代碼生成技術的齣現,為滿足軟件繫統中重複性代碼的自動生成、保障軟件繫統的健壯性和可維護性等需要提供瞭解決方案。目前業界針對Java EE企業應用的代碼生成器在繫統功能整閤方麵還存在不足,依賴于程序員基于生成的原型代碼進行後續開髮。本文提齣瞭一箇基于SSH2與權限管理框架Apache Shiro整閤的代碼生成器方案,有效解決瞭複雜業務中的多錶關聯以及權限管理問題,併探討瞭實現過程中幾箇關鍵技術問題。
대마생성기술적출현,위만족연건계통중중복성대마적자동생성、보장연건계통적건장성화가유호성등수요제공료해결방안。목전업계침대Java EE기업응용적대마생성기재계통공능정합방면환존재불족,의뢰우정서원기우생성적원형대마진행후속개발。본문제출료일개기우SSH2여권한관리광가Apache Shiro정합적대마생성기방안,유효해결료복잡업무중적다표관련이급권한관리문제,병탐토료실현과정중궤개관건기술문제。
The appearance of code generation technology provided a solution for automatic generation of repetitive codes in software system as well as for guarantee of its robustness and maintainability. At present, the existing code generators aiming at Java EE enterprise application still have some shortcomings in system function integration, so that it has to rely on the programmer's subsequent development based on the prototype of the generated code. This paper proposed a scheme of code generator based on the integration of SSH2 and an authority management framework, Apache Shiro, which could effectively solve the problems of complex business association and security management, and several key technical problems during the implementation process are discussed.