首页> 外文OA文献 >JML- Based formal development of a Java card application for managing medical appointments
【2h】

JML- Based formal development of a Java card application for managing medical appointments

机译:基于JML的Java卡应用程序的正式开发,用于管理医疗约会

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Although formal methods can dramatically increase the quality of software systems, they have not widely been adopted in software industry. Many software companies have the perception that formal methods are not cost-effective cause they are plenty of mathematical symbols that are difficult for non-experts to assimilate. The Java Modelling Language (short for JML) Section 3.3 is an academic initiative towards the development of a common formal specification language for Java programs, and the implementation of tools to check programcorrectness. This master thesis work shows how JML based formal methods can be used toformally develop a privacy sensitive Java application. This is a smart card application for managing medical appointments. The application is named HealthCard. We follow the software development strategy introduced by João Pestana, presented in Section 3.4. Ourwork influenced the development of this strategy by providing hands-on insight on challenges related to development of a privacy sensitive application in Java. Pestana’s strategy is based on a three-step evolution strategy of software specifications, from informal ones, through semiformal ones, to JML formal specifications. We further prove that this strategy can be automated by implementing a tool that generates JML formal specifications from a welldefinedsubset of informal software specifications. Hence, our work proves that JML-basedformal methods techniques are cost-effective, and that they can be made popular in software industry. Although formal methods are not popular in many software development companies, we endeavour to integrate formal methods to general software practices. We hope our workcan contribute to a better acceptance of mathematical based formalisms and tools used by software engineers.The structure of this document is as follows. In Section 2, we describe the preliminaries of this thesis work. We make an introduction to the application for managing medical applications we have implemented. We also describe the technologies used in the development of the application. This section further illustrates the Java Card Remote MethodInvocation communication model used in the medical application for the client and serverapplications. Section 3 introduces software correctness, including the design by contract and the concept of contract in JML. Section 4 presents the design structure of the application.Section 5 shows the implementation of the HealthCard. Section 6 describes how theHealthCard is verified and validated using JML formal methods tools. Section 7 includes some metrics of the HealthCard implementation and specification. Section 8 presents a short example of how a client-side of a smart card application can be implemented while respecting formal specifications. Section 9 describes a prototype tools to generate JML formalspecifications from informal specifications automatically. Section 10 describes some challenges and main ideas came acrorss during the development of the HealthCard. The full formal specification and implementation of the HealthCard smart card application presented in this document can be reached at https://sourceforge.net/projects/healthcard/.
机译:尽管形式化方法可以显着提高软件系统的质量,但它们尚未在软件行业中广泛采用。许多软件公司都认为形式化方法不具有成本效益,因为它们含有大量的数学符号,非专业人员很难吸收。 Java建模语言(JML的缩写)第3.3节是一项学术活动,旨在为Java程序开发通用的正式规范语言,并实现用于检查程序正确性的工具。这项主要的论文工作展示了如何使用基于JML的形式方法来正式开发对隐私敏感的Java应用程序。这是用于管理医疗约会的智能卡应用程序。该应用程序名为HealthCard。我们遵循JoãoPestana提出的软件开发策略,在第3.4节中介绍。我们的工作通过提供与Java隐私敏感应用程序开发有关的挑战的动手见识,从而影响了该策略的开发。 Pestana的策略基于软件规范的三步演变策略,从非正式的规范到半正式的规范,再到JML正式规范。我们进一步证明,通过实施一种工具,该策略可以从非正式软件规范的明确定义的子集生成JML正式规范的工具中实现自动化。因此,我们的工作证明基于JML的形式化方法技术具有成本效益,并且可以在软件行业中普及。尽管形式方法​​在许多软件开发公司中并不流行,但我们努力将形式方法集成到一般软件实践中。我们希望我们的工作能够有助于更好地接受软件工程师使用的基于数学的形式主义和工具。本文档的结构如下。在第2节中,我们描述了本论文的初步工作。我们将介绍用于管理已实现的医疗应用程序的应用程序。我们还将描述在应用程序开发中使用的技术。本节进一步说明了医疗应用程序中用于客户端和服务器应用程序的Java Card远程方法调用通信模型。第三部分介绍了软件的正确性,包括按合同设计和JML中的合同概念。第4节介绍应用程序的设计结构。第5节介绍HealthCard的实现。第6节描述了如何使用JML形式方法工具来验证和确认HealthCard。第7节包含有关HealthCard实施和规范的一些指标。第8节给出了一个简短的示例,说明如何在遵守正式规范的同时实现智能卡应用程序的客户端。第9节描述了一种原型工具,该工具可从非正式规范自动生成JML形式规范。第10节介绍了健康卡开发过程中的一些挑战和主要思想。可以在https://sourceforge.net/projects/healthcard/上获得本文档中介绍的HealthCard智能卡应用程序的完整正式规范和实现。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号