Automated Extraction of Abstract Behavioural Models from JMS Applications

  • Elvira Albert
  • Bjarte M. Østvold
  • José Miguel Rojas
Conference paper

DOI: 10.1007/978-3-642-32469-7_2

Part of the Lecture Notes in Computer Science book series (LNCS, volume 7437)
Cite this paper as:
Albert E., Østvold B.M., Rojas J.M. (2012) Automated Extraction of Abstract Behavioural Models from JMS Applications. In: Stoelinga M., Pinger R. (eds) Formal Methods for Industrial Critical Systems. FMICS 2012. Lecture Notes in Computer Science, vol 7437. Springer, Berlin, Heidelberg

Abstract

Distributed systems are hard to program, understand and analyze. Two key sources of complexity are the many possible behaviors of a system, arising from the parallel execution of its distributed nodes, and the handling of asynchronous messages exchanged between nodes. We show how to systematically construct executable models of publish/subscribe systems based on the Java Messaging Service (JMS). These models, written in the Abstract Behavioural Specification (ABS) language, capture the essentials of the messaging behavior of the original Java systems, and eliminate details not related to distribution and messages. We report on jms2abs, a tool that automatically extracts ABS models from the bytecode of JMS systems. Since the extracted models are formal and executable, they allow us to reason about the modeled JMS systems by means of tools built specifically for the modeling language. For example, we have succeeded to apply simulation, termination and resource analysis tools developed for ABS to, respectively, execute, prove termination and infer the resource consumption of the original JMS applications.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2012

Authors and Affiliations

  • Elvira Albert
    • 1
  • Bjarte M. Østvold
    • 2
  • José Miguel Rojas
    • 3
  1. 1.Complutense University of MadridSpain
  2. 2.Norwegian Computing CenterNorway
  3. 3.Technical University of MadridSpain

Personalised recommendations