基于WCF和NHibernate的软件架构研究及应用  被引量:6

Research and Application of Software Architecture Based on WCF and NHibernate

在线阅读下载全文

作  者:孙志中[1] 魏嘉银[1] 秦永彬[1] 

机构地区:[1]贵州大学计算机科学与技术学院,贵阳550025

出  处:《计算机与数字工程》2015年第4期591-595,634,共6页Computer & Digital Engineering

基  金:国家自然科学基金(编号:61262006;60863005);贵州省科学技术基金(编号:黔科合J字[2012]2125号)资助

摘  要:针对.NET平台下软件架构跨平台移植和跨数据库支持的问题,在对传统三层架构以及WCF、NHibernate等技术进行研究的基础上,提出了一种新的基于WCF和NHibernate的分层软件架构(记为WN-Framework)。一方面,它利用WCF构建数据服务,并通过在服务层中引入对象缓存池技术显著提升了服务性能。另一方面,它利用NHibernate进行数据持久化,并通过在持久化层中引入库表自动生成方法进一步提升了开发效率。WN-Framework具有灵活可扩展、高可重用等优势,能够更好地应对终端多样性和数据库迁移的需求,并且它在某高校基于互联网及移动互联网的综合OA平台的开发和应用中取得了很好的效果。今后,采用WN-Framework的开发也会越来越广泛。For the problems of cross-platform porting and cross-database support of the software architecture under the ~ NET framework, a new layered software architecture named WN-Framework is proposed based on the study of the tradi- tional three-layer architecture and the technologies such as WCF and NHibernate. On one hand, it builds data service with WCF and significantly improves the service performance by introducing the object caching technology into the service layer. On the other hand, it does data persistence with NHibernate and further promotes the developing efficiency by introducing the database automatically generating method~ WN-Framework is flexible, extensible, high reusable, being able to cope with the demands of terminal diversity and database migration better and it has achieved good results in the development and appli- cation of the OA platform based on the internet and the mobile internet of a university. In the future, WN-Framework will be used more and more widely for developing.

关 键 词:WCF NHIBERNATE 软件架构 对象缓存池 库表自动生成 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象