|
|
论文题目 |
CMP数据持久层移植中的关系赋值规则研究 |
论文题目(英文) |
|
作者 |
刘磊 |
发表年度 |
2008 |
卷 |
29 |
期 |
10 |
页码 |
92-96 |
期刊名称 |
微计算机应用 |
摘要 |
针对EJB2的容器管理Bean向Java持久化API移植可能出现逻辑错误的问题,全面归纳了容器管理Bean之间七种类型的关联关系的赋值规则,提出了处理各种关联关系赋值规则的通用算法,利用Echpse的抽象语法树工具实现该算法,对Java持久化API的简单Java对象的源代码自动修改,保障了移植后的应用与基于口B2技术的遗留系统的逻辑一致性。 关键词:容器管理Bean JAVA持久化API赋值规则 抽象语法树 |
摘要_英文 |
This paper makes a sunlnlary of seven kinds of assignment rules for relationships among entity beans with Container—Man-aged Persistence,and pm、rida general algorithm to process the assignment rules.The program,according to the general algorithm,is implemented using AST tools of Eclipse tO modify 80uroe code of plain old java objects to avoid logical en-ors in migratingfrom the legacy CMP based applications to JPA based applications. Keywords:CMP,JPA,Assignment Rules,AST |
|
|
|