摘要
从J2EE项目移植中致使程序产生混乱的原因入手,提出了序列块模式、全局惟一标示符模式两种策略,实现在了J2EE项目在应用服务器间的移植。通过构建持久层,让开发人员在持久层框架上建立应用程序,可以将所有的数据访问集中到一层,减少了应用程序与数据源的耦合性,实现了应用程序在不同数据库间的轻松移植。
The reasons that may resuot in bugs in application during its transplantation are researched, then sequence block and global unique identification patterns are proposed, and J2EE project transplantations between web servers is realized. By building persistence layer, developers could build applications on its architecture, and thus centralize all data access businesses into one layer, which could reduce coupling between applications and data source and realize transplantation between applications and different databases.
出处
《计算机工程与设计》
CSCD
北大核心
2008年第21期5494-5497,共4页
Computer Engineering and Design
基金
陕西省科技攻关基金项目(2007K05-11)