首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 609 毫秒
1.
基于J2EE多层体系结构的数据持久层几种主流的解决方案:使用SQL/JDBC在业务类中硬编码、使用SQL/JDBC在存储过程或者单独的数据类中硬编码、CMP容器管理持久实体Bean、JDO对象-关系/映射模式(ORM模式)进行了简要介绍,分析了数据持久层的ORM设计模式,包括决定ORM实现工具设计标准的四个级别,其中完全的对象映射支持组合、继承、多态和“可达的持续性“等复杂的对象模型,本文对完全的对象映射的功能进行了阐述.最后,作为ORM例证,介绍了一个Java对象持久层轻量级封装框架Hibernate,探讨了它在实际应用中的技术优势.  相似文献   

2.
J2EE数据持久层的ORM设计模式   总被引:1,自引:0,他引:1  
基于J2EE多层体系结构的数据持久层几种主流的解决方案:使用SQL/JDBC在业务类中硬编码、使用SQL/JDBC在存储过程或者单独的数据类中硬编码、CMP容器管理持久实体Bean、JDO对象-关系/映射模式(ORM模式)进行了简要介绍,分析了数据持久层的ORM设计模式,包括决定ORM实现工具设计标准的四个级别,其中完全的对象映射支持组合、继承、多态和“可达的持续性”等复杂的对象模型,本文对完全的对象映射的功能进行了阐述。最后,作为ORM例证,介绍了一个Java对象持久层轻量级封装框架Hihernate,探讨了它在实际应用中的技术优势。  相似文献   

3.
本系统是基于J2EE的设计方案,使用表示层,逻辑层和数据层三层模式。使用B/S模式,大大减低了服务端的数据处理任务。提供了高性能的处理速度,降低数据库的运行时的开销。使用MS SQL Server 2000作为数据库,Tomcat作为JSP容器。数据库层使用JDBC与底层数据库进行交互,逻辑层封装在Java类中,表示层由JSP实现。  相似文献   

4.
ORM(Object/Relation Mapping),即对象/关系数据库映射。ORM框架就是为了解决面向对象程序设计语言与关系型数据库之间阻抗不匹配而产生的,这种框架能将业务逻辑层和持久层有效分离,使两层之间以松耦合方式衔接起来,便于代码的维护。探讨了ORM框架的实现机制。  相似文献   

5.
DAL是以ORM为理论基础,在业务逻辑层和企业信息系统层之间进行数据类型相互转换和数据操作的一个单独模块.通过分析和研究ORM理论,并结合项目实际需求,提出了一种DAL设计方案.该方案采用类反射机制,实现了数据对象与表、存储过程的相互映射过程,并在开发过程中解决了一些具体问题,目前在应用系统中得到了很好的应用.  相似文献   

6.
为解决对象模型和关系模型之间的不匹配,引入对象关系映射框架来解决。Hibernate是目前主流的ORM映射框架。分析了Web应用程序的体系结构和Hibernate体系结构。以在线购物系统为例,给出了对象关联关系映射策略,通过映射文件实现了该映射策略。实验结果表明,映射文件成功实现了该映射策略。通过Hibernate的数据持久层解决方案,提高了数据存取的速度,降低了系统的耦合性,保证了系统的扩展性。  相似文献   

7.
在开发ASP.NET MVC大中型项目时,通常结合ORM框架技术实现数据库访问。ORM框架与SQL语句操作数据库不同,它不要求开发人员使用SQL语句,而是以面向对象编码方式访问数据库。微软的企业级ORM框架称为“ADO.NET实体数据框架”(Entity Framework,简称EF)。它支持常见的SQL Server、Oracle等大型数据库。介绍了ORM技术以及在ASP.NET程序开发中使用EF创建数据模型的3种方式。EF可以将C#代码自动转成SQL语句,实现对数据库和表的操作。  相似文献   

8.
利用基于MVC模式的Struts框架、Spring IoC(控制反转)以及Hibernate的ORM(对象关系映射)机制和对持久对象持久化的管理技术设计信息交流平台系统,详细说明系统的具体实现,并对实现方法的可行性进行验证。  相似文献   

9.
Hibernate是一个开放源代码的对象关系映射框架,它对JDBC进行了非常轻量级的对象封装,使得Java程序员可以随心所欲的使用对象编程思维来操纵数据库.Hibernate可以应用在任何使用IDBC的场合,既可以在Java的客户端程序使用,也可以在Servlet/JSP Web应用中使用,完成数据持久化的重任.  相似文献   

10.
对Rails框架下ActiveRecord模块—一种数据持久层的对象/关系映射技术进行研究了分析。介绍了对象/关系映射技术和ActiveRecord模块同名原型ActiveRecord的基本原理,比较了Java流行框架Hibernate与其间的差别,阐述了Rails框架下ActiveRecord原理和特点。以广告缴费管理子系统为例,展示了ActiveRecord强大的特性。  相似文献   

11.
The communication of people partially is the communication of cultures. Culture has a direct effect on international commercial activities in all aspects. Different conceptions about time, space, equality, law and the like, lead people to deal with things in different ways. So to know cultures of the counterpart is to facil-itate our enterprises so as to have a smooth and successful communication in commercial activity.  相似文献   

12.
风的曲线     
Rosco and I wait for the fishermen to return.I sit at a wooden bench near the store at Mt.Baker Resort and watch the clouds change shape. Rosco has my belt around his neck and an eight foot tow chain hooked to a tree. Dogs must be on a leash. Ducks and rabbits are loose.  相似文献   

13.
Given a graph G,a subgraph C is called a clique of G if C is a complete subgraph of G maximal under inclusion and |C|≥2. A clique-transversal set S of G is a set of vertices of G such that S meets all cliques of G. The clique-transversal number, denoted as TC (G), is the minimum cardinality of a clique-transversal set in G. The clique-graph of G, denoted as K (G), is the graph obtained by taking the cliques of G as vertices, and two vertices are adjacent if and only if the corresponding cliques in G have nonempty intersection. Let F be a class of graphs G such that F={G|K(G) is a tree}. In this paper the graphs in F having independent clique-transversal sets are shown and thus TC (G)/|G|≤1/2 for all G ∈ F.  相似文献   

14.
《海外英语》2007,(5):44-45
It is worthy of noting that, whilst Crookston Castle witnessed the earlier and happier portion of Mary's variegated life,  相似文献   

15.
Different nations have different social cultures, and the social culture of every nation is developing with the development of the nation, language is greatly influenced by social culture, which enables language to possess national and historical characteristics. Word is the smallest, independent, meaningful linguistic unit of language. It can well reflect the national and historical characteristics. From synchronic aspect, the social and cultural influence on word meaning is mainly embodied in conceptual and associative meanings of word. The incorrespondence of word meaning is a phenomenon that exists in both conceptual and associative meanings of word among different languages. From diachronic aspect, the development of social culture causes some changes of word meaning to some extent. Therefore, social culture plays a key role in vocabulary learning and mastery of a language.  相似文献   

16.
汉字倒说     
汉字的六书,《说文》对“转注”一类,语焉不详。后世学者提及转注,也仅限于许慎所举出的例字。《汉字例说》一文,作者从转注的角度综合考虑,对部分现代常用字作了分析,跟传统的解释有所不同。希望能抛砖引玉,互相切磋,以推进学术研究。  相似文献   

17.
《海外英语》2007,(4):36
There are numbers of crossroads on our long and unpredictable life journey where we totally have no idea about which direction to choose. No matter what our decision is, we should not turn back, but face the music and go ahead instead. I am this kind of girl who always does try without regretting, one example is how I dealt with my love.  相似文献   

18.
19.
王菲 《华章》2007,(12):273-273
Migration occurs behind a variety of reasons and has a great effect on the whole world. People may migrate in order to improve their economic situation, or in order to escape civil strife, persecution, and environmental disasters. The impact of migration is complex, bringing both benefits anddisadvantages. This paper briefly talks about the causes of migration, the allocation of benefits, and the ways in which individual countries and the international community deal with this important subject.  相似文献   

20.
This paper looks at the way drama works to bring a model of an arts curriculum into reality. He also shows how drama is valuable when discussed as a separate, autonomous subject in the school curriculum as opposed to one subsumed within English. He argues for a view of the arts and gives an example of a sequence of work in an English GCSE class based around Arthur Miller's play View from the Bridge. From this he draws out several strands about the relationship of the drama curriculum to the individual students and teachers, the school, and to culture. He also emphasises the primacy of performance in drama education.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号