Skip to main content

Implementing Services by Partial State Machines

  • Conference paper
SOFSEM 2009: Theory and Practice of Computer Science (SOFSEM 2009)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 5404))

Abstract

In the service-oriented approach to software engineering, interactive components offer contracted services through public interfaces. Over time a component receives a stream of service requests and generates a stream of responses. In general, a component is only prepared to serve a subset of possible requests in each situation — services are partial behaviours. On the specification level, we model services by stream functions defined on a restricted service domain. For the state-based implementation of services we introduce partial state machines. We present a transformation how to systematically implement a service by a partial state machine. The transformation exploits history abstractions to relate service histories with machine states. We illustrate the formal method with three characteristic applications, viz. an interactive stack, a bounded buffer and a server with registration.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Allen, R., Garlan, D.: A formal basis for architectural connection. ACM Transactions on Software Engineering and Methodology 6(3), 213–249 (1997)

    Article  Google Scholar 

  2. Alonso, G., Casati, F., Kuno, H., Machiraju, V.: Web Services: Concepts, Architectures and Applications. Springer, Heidelberg (2004)

    Book  MATH  Google Scholar 

  3. Benatallah, B., Casati, F., Toumani, F., Hamadi, R.: Conceptual modeling of web service conversations. In: Eder, J., Missikoff, M. (eds.) CAiSE 2003. LNCS, vol. 2681, pp. 449–467. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  4. Berardi, D., de Rosa, F., de Santis, L., Mecella, M.: Finite state automata as conceptual model for E-services. Journal of Integrated Design & Process Science 8(2), 105–121 (2004)

    Google Scholar 

  5. Broy, M.: A functional rephrasing of the assumtion/commitment specification style. Formal Methods in System Design 13(1), 87–119 (1998)

    Article  Google Scholar 

  6. Broy, M., Krüger, I.H., Meisinger, M.: A formal model of services. ACM Transactions on Software Engineering and Methodology 16(1) (2007)

    Google Scholar 

  7. Broy, M., Stølen, K.: Specification and Development of Interactive Systems: Focus on Streams, Interfaces, and Refinement. Monographs in Computer Science. Springer, Heidelberg (2001)

    Book  MATH  Google Scholar 

  8. Bultan, T., Fu, X., Hull, R., Su, J.: Conversation specification: A new approach to design and analysis of E–service composition. In: 12th International Conference on World Wide Web, pp. 403–410. ACM, New York (2003)

    Google Scholar 

  9. Dosch, W., Hu, G.: On irregular behaviours of interactive stacks. In: Latifi, S. (ed.) Proceedings of the Fourth International Conference on Information Technology: New Generations (ITNG 2007), pp. 693–700. IEEE Computer Society Press, Los Alamitos (2007)

    Google Scholar 

  10. Dosch, W., Stümpel, A.: Introducing control states into communication based specifications of interactive components. In: Arabnia, H., Reza, H. (eds.) Proceedings of the International Conference on Software Engineering Research and Practice (SERP 2004), vol. II, pp. 875–881. CSREA Press, Athens, GA (2004)

    Google Scholar 

  11. Dosch, W., Stümpel, A.: Transforming stream processing functions into state transition machines. In: Dosch, W., Lee, R.Y., Wu, C. (eds.) SERA 2004. LNCS, vol. 3647, pp. 1–18. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  12. Dosch, W., Stümpel, A.: Deriving state–based implementations of interactive components with history abstractions. In: Virbitskaite, I., Voronkov, A. (eds.) PSI 2006. LNCS, vol. 4378, pp. 180–194. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  13. Dosch, W., Stümpel, A.: Extending the service domain of an interactive bounded queue. In: Castillo, O., Xu, L., Ao, S.-I. (eds.) Trends in Intelligent Systems and Computer Engineering, ch. 41. Lecture Notes in Electrical Engineering, vol. 6, pp. 599–618. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  14. Erl, T.: Service Oriented Architecture: Concepts, Technology, and Design. Prentice-Hall, Englewood Cliffs (2005)

    Google Scholar 

  15. Stephens, R.: A survey of stream processing. Acta Informatica 34(7), 491–541 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  16. Stølen, K., Dederichs, F., Weber, R.: Specification and refinement of networks of asynchronously communicating agents using the assumption/commitment paradigm. Formal Aspects of Computing 8(2), 127–161 (1996)

    Article  MATH  Google Scholar 

  17. Stoltenberg-Hansen, V., Lindström, I., Griffor, E.R.: Mathematical Theory of Domains. Cambridge Tracts in Theoretical Computer Science, vol. 22. Cambridge University Press, Cambridge (1994)

    Book  MATH  Google Scholar 

  18. Stümpel, A.: Stream Based Design of Distributed Systems through Refinement. Logos Verlag, Berlin (2003)

    Google Scholar 

  19. Wegner, P.: Why interaction is more powerful than algorithms. Communications of the ACM 40(5), 80–91 (1997)

    Article  Google Scholar 

  20. Wirsing, M., Pepper, P., Partsch, H., Dosch, W., Broy, M.: On hierarchies of abstract data types. Acta Informatica 20(1), 1–33 (1983)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Dosch, W., Stümpel, A. (2009). Implementing Services by Partial State Machines. In: Nielsen, M., Kučera, A., Miltersen, P.B., Palamidessi, C., Tůma, P., Valencia, F. (eds) SOFSEM 2009: Theory and Practice of Computer Science. SOFSEM 2009. Lecture Notes in Computer Science, vol 5404. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-95891-8_24

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-95891-8_24

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-95890-1

  • Online ISBN: 978-3-540-95891-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics