The University of Southampton
University of Southampton Institutional Repository

JCSProB: Implementing Integrated Formal Specifications in Concurrent Java

Yang, Letu and Poppleton, Michael, (2007) JCSProB: Implementing Integrated Formal Specifications in Concurrent Java McEwan, A.A., Schneider, S., Ifill, W. and Welch, P.H. (eds.) At Communicating Process Architectures. , pp. 67-88.

Record type: Conference or Workshop Item (Paper)


The ProB model checker provides tool support for an integrated formal specification approach, which combines the classical state-based B language with the event-based process algebra CSP. In this paper, we present a developing strategy for implementing such a combined ProB specification as a concurrent Java program. A Java implementation of the combined B and CSP model has been developed using a similar approach to JCSP. A set of translation rules relates the formal model to its Java implementation, and we also provide a translation tool JCSProB to automatically generate a Java program from a ProB specification. To demonstrate and exercise the tool, several B/CSP models, varying both in syntactic structure and behavioural/concurrency properties, are translated by the tool. The models manifest the presence and absence of various safety, deadlock, and bounded fairness properties; the generated Java code is shown to faithfully reproduce them. Run-time safety and bounded fairness checking is also demonstrated. The Java programs are discussed to demonstrate our implementation of the abstract B/CSP concurrency model in Java. In conclusion we consider the effectiveness and generality of the implementation strategy.

PDF CPA07.pdf - Other
Download (260kB)

More information

Published date: 2007
Additional Information: Best Student Paper Prize of CPA 2007 Event Dates: 9 July, 2007
Venue - Dates: Communicating Process Architectures, 2007-07-09
Keywords: Integrated Formal Methods, Java Concurrency, Implementation
Organisations: Electronic & Software Systems


Local EPrints ID: 264300
ISBN: 978-1-58603-767-3
PURE UUID: 5e678c20-9b6d-4cd0-81d4-a804679628b1

Catalogue record

Date deposited: 12 Jul 2007
Last modified: 18 Jul 2017 07:37

Export record


Author: Letu Yang
Author: Michael Poppleton
Editor: A.A. McEwan
Editor: S. Schneider
Editor: W. Ifill
Editor: P.H. Welch

University divisions

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton:

ePrints Soton supports OAI 2.0 with a base URL of

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.