期刊文献+

基于模型检查实现J2EE规范的实例研究

A Case Study in Implementing J2EE Specification Based on Model Checking
下载PDF
导出
摘要 J2EE规范描述了当前开发应用服务器和分布式多层应用所遵循的技术蓝本。然而,它所使用的自然或半自然语言描述方式并不严格,易产生二义性,会影响J2EE应用服务器实现的正确性和应用服务器之间的兼容性。针对这一问题,本文以EJB2.1规范中的TimerService为例,研究了一种基于模型检查技术设计与实现规范方法。首先根据规范的描述提出TimerService的形式化模型,定义了TimerService的行为;然后使用模型检查工具SPIN对模型进行分析与验证,不仅证明了模型符合规范要求,而且发现并修正了规范中不严格的描述带来的缺陷。以该模型为基础导出了TimerService的一种设计方案,这种设计已经在中科院软件所研制的OnceAS应用服务器中得到实现,并在J2EE1.4兼容性测试中证明了其正确性。 J2EE specifications provide the technique blue-prints of the current development of application servers and distributed multi-layer applications. However, the J2EE specifications are expressed in nature/half-nature language, which brings vulnerabilities such as ambiguity, incorrectness and incompatibility. In this paper, a specification design&implementatation approach based on model checking technology is discussed to solve such problems. Semantic models are applied on the Timer Service in EJBTM Specification 2. 1 and formally verified. Using the SPIN model checker, defects both in the design of the model and in the expressions of J2EE specification are discovered and corrected. The process resulted in a faultless and highly compatible model, and based on which, a design of Timer Service is exported. This design has implemented in OnceAS and passed the J2EE1.4 CTS test.
出处 《计算机科学》 CSCD 北大核心 2006年第12期249-254,共6页 Computer Science
基金 973计划:网构软件中间件平台模型和框架研究(2002CB312005) 863计划:网络环境的系统软件核心技术及运行平台(2001AA113010) 863计划:面向新型ERP的可重配Web应用服务器的研究与应用(2003AA413010)。
关键词 J2EE规范 模型检查 SPIN J2EE specification, Model checking,SPIN
  • 相关文献

参考文献12

  • 1Sun Microsystems Inc. Java 2 Enterprise Edition, v1. 4: http://java. sun. com/j2cc/1.4/index. jsp
  • 2Nakajima S, Tamai T. Behavioral Analysis of the Enterprise JavaBeans Component Architecture. Proceedings of the 8th SPIN Workshop, LNCS 2057, 2001
  • 3Sousa J ,Garlan D. Formal Modeling of the Enterprise JavaBeansTM Component Integration Framework. In: Proc FM'99, 1999.1281-1300
  • 4Kazhamiakin R, Pistore M, Roveri M. Formal Verification of Requirements using SPIN: A Case Study on Web Services. Proceedings of the Software Engineering and Formal Methods, Second International Conference on (SEFM'04), 2004
  • 5Visser W, Havelund K, Brat G, et al. Model Checking Programs. 15th IEEE International Conference on Automated Software Engineering (ASE'00), 2000
  • 6Havelund K, Lowry M, Penix J. Formal Analysis of a Space-Craft Controller Using SPIN. IEEE Trans on Software Engineering, 2001, 27(8):749-765
  • 7Garlan D, Khersonsky S. Model Checking Publish-Subscribe Systems. In:JS Kim SPIN 2003, LNCS 2648, 2003. 166-180
  • 8Inverardi P, Muccini H, Pelliccione P. Automated cheek of architectural models consistency using SPIN. In: Feather M, Goedieke M. eds. Proc of the 16th IEEE Int'l Conf on Automated Software Engineering (ASE 2001). Los Alamitos: IEEE Computer Society Press, 2001, 346-349
  • 9Sun Microsystems Inc. Enterprise JavaBeans^TM Specification, v2.1, 2003. 493-499
  • 10Holzmann G J. The Model Checker SPIN. IEEE Trans on Software Engineering, 1997, 23(5):279-295

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部