The University of Southampton
University of Southampton Institutional Repository

Automatic Translation from Combined B and CSP specification to Java Programs

Yang, Letu and Poppleton, Michael, (2007) Automatic Translation from Combined B and CSP specification to Java Programs Juilland, Jacques and Kouchnarenko, Olga (eds.) At 7th International B Conference, France. 17 - 19 Jan 2007. , pp. 64-78.

Record type: Conference or Workshop Item (Paper)


A recent contribution to the formal specification and verification of concurrent systems is the integration of the state- and event-based approaches B and CSP, specifically in the ProB model checking tool. At the implementation end of the development, concurrent programming in Java remains a demanding and error-prone activity, because of the need to verify critical properties of safety and liveness as well as functional correctness. This work contributes to the automated development of concurrent Java programs from such integrated specifications. The JCSP package was originally designed as a proven clean Java concurrency vehicle for the implementation of certain CSP specifications. In the context of best current Java concurrent programming practice, we extend the original JCSP package to support the integrated B and CSP specification by implementing new channel classes. We propose rules for the automated translation of the integrated specification to multi-threaded Java using the extended JCSP channel classes. We briefly present a prototype translation tool which extends ProB, with a worked example, and conclude with a strategy for formally verifying the translation.

PDF yangB2007.pdf - Other
Download (203kB)

More information

Published date: January 2007
Additional Information: Event Dates: 17-19 January 2007
Venue - Dates: 7th International B Conference, France, 2007-01-17 - 2007-01-19
Keywords: B, concurrent, CSP, JCSP, ProB, translation
Organisations: Electronic & Software Systems


Local EPrints ID: 263248
ISBN: 978-3-540-68760-3
PURE UUID: 834c432e-06cd-474f-aa4b-770c76890021

Catalogue record

Date deposited: 13 Dec 2006
Last modified: 18 Jul 2017 07:48

Export record


Author: Letu Yang
Author: Michael Poppleton
Editor: Jacques Juilland
Editor: Olga Kouchnarenko

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.