Skip to main content

On Components with Explicit Protocols Satisfying a Notion of Correctness by Construction

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2519))

Abstract

Component-based programming, which promises to facilitate the construction of large-scale applications, relies to a large degree on interfaces. Interfaces on most component models only declare types and sets of services that components implement, and are not expressive enough to formulate structural and behavioral properties of components. In this paper we show how to integrate one important class of behavioral properties: constraints on the sequentialization of services.We are interested in operators for the construction of components, satisfying a correctness property, allowing a component to be substituted by another one.We define a set of protocol composition operators satisfying the correctness property, we provide a first step toward the integration of additional abstract state information into protocols, and we apply our theory to two widely-used component models: JavaBeans and Enterprise JavaBeans.

This work has been partially funded by the EU project “EASYCOMP” (www.easycomp.org), no. IST-1999-014191

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. DeMichiel, L., Yalçinalp, L., Krishnan, S.: Enterprise JavaBeans TM Specification. SUN Microsystems. (2001) Version 2.0, Final Release.

    Google Scholar 

  2. Rumbaugh, J., Jacobson, I., Booch, G.: The Unified Modeling Language Reference Manual. 1 edn. Addison-Wesley, Reading, Massachusetts, USA (1999)

    Google Scholar 

  3. Harel, D.: Statecharts: A visual formalism for complex system. Science of Computer Programming 8 (1987) 231–274

    Article  MATH  MathSciNet  Google Scholar 

  4. Yellin, D.M., Strom, R.E.: Protocol specifications and component adaptors. ACM Transactions of Programming Languages and Systems 19 (1997) 292–333

    Article  Google Scholar 

  5. Wydaeghe, B.: PACOSUITE, Component Composition Based on Composition Patterns and Usage Scenarios. PhD thesis, Vrije Universiteit Brussels (2001)

    Google Scholar 

  6. Plasil, F., Visnovsky, S.: Behavior protocols for software components. In: Transactions on Software Engineering, IEEE (2002)

    Google Scholar 

  7. Nierstrasz, O.: Regular types for active objects. In Nierstrasz, O., Tsichritzis, D., eds.: Object-Oriented Software Composition. Prentice Hall (1995) 99–121

    Google Scholar 

  8. Hopcroft, J.E., Motwani, R., Ullman, J.D.: Introduction to Automata Theory, Languages, and Computation. Second edn. AddisonWesley (2001)

    Google Scholar 

  9. Farias, A., Südolt, M.: A component model with explicit protocols. Technical Report 02/4/INFO, Ecole des Mines de Nantes (2002)

    Google Scholar 

  10. Hamilton, G.: Java beans API specification. Technical report, Sun Microsystems (1997)

    Google Scholar 

  11. Eugster, P., Guerraoui, R., Damm, C.: On objects and events. In: Proceedings OOPSLA. (2001)

    Google Scholar 

  12. Brookes, S.D., Hoare, C.A.R., Roscoe, A.W.: A theory of communicating sequential processes. Journal of the ACM 31 (1984) 560–599

    Article  MATH  MathSciNet  Google Scholar 

  13. Van Den Bos, J., Laffra, C.: PROCOL: a parallel object language with protocols. ACM SIGPLAN Notices 24 (1989) 95–102

    Google Scholar 

  14. Rudolph, E., Graubmann, P., Grabowski, J.: Tutorial on Message Sequence Charts. Computer Networks and ISDN Systems 28 (1996) 1629–1641

    Article  Google Scholar 

  15. Allen, R. J.: A Formal Approach to Software Architecture. Ph.D. thesis, School of Computer Science, Carnegie Mellon University, Pittsburgh (1997)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Farías, A., Südholt, M. (2002). On Components with Explicit Protocols Satisfying a Notion of Correctness by Construction. In: Meersman, R., Tari, Z. (eds) On the Move to Meaningful Internet Systems 2002: CoopIS, DOA, and ODBASE. OTM 2002. Lecture Notes in Computer Science, vol 2519. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36124-3_64

Download citation

  • DOI: https://doi.org/10.1007/3-540-36124-3_64

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-00106-5

  • Online ISBN: 978-3-540-36124-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics