Skip to main content

Smart Active Object: A New Object-Oriented Programming Paradigm for Developing Multithreaded Applications

  • Conference paper
  • First Online:
  • 179 Accesses

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

Abstract

Multithreaded programming has been widely used nowadays, but developing mutlithreaded applications is still a tough task. To alleviate such kind of work we propose a new concept, Smart Active Object, an extension to the normal object in object-oriented technology. Smart Active Object runs concurrently with the main execution logic of the program, leveraging multithreading mechanisms and meanwhile leaves only sequential interfaces for programmers to insert application-specific parts, masking details of multithreading, which eventually enhances programming productivity. To support our claims, we design and implement a framework comprising a collection of cooperative Smart Active Objects for stateful applications, a typical problem in telecom world. Using this framework, we easily solve a toy problem, derived from the behavior of SIP stateful proxy servers within much shorter time than a conventional C version counterpart.

This research is supported by Ericsson.

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. Apache HTTP server project. http://httpd.apache.org/.

  2. Fox, A., Gribble, S. D., Chawathe, Y., Brewer, E. A., and Gauthier, P. 1997. Cluster-based scalable network services. Proc. of the 16th ACM Symposium on Operating Systems Principles (Oct).

    Google Scholar 

  3. Gosling, J., Joy, B., Steele, G., and Bracha, G. The Java Language Specification (Second Edition), http://java.sun.com/.

  4. Holmedahl, V., Smith, B., and Yang, T. 1998. Cooperative caching of dynamic content on a distributed web server. Proc. of the 7th IEEE International Symposium on High Performance Distributed Computing (Jul).

    Google Scholar 

  5. Lewis, B. and Berg, D. J. 1996. Pthread Primer-A Guide to Multithread Programming, Sunsoft Press, ISBN 0-13-443698-9.

    Google Scholar 

  6. OpenMP Architecture Review Board. OpenMP: a proposed industry standard API for shared memory programming. White paper. http://www.openmp.org.

  7. OpenMP Architecture Review Board. OpenMP C and C++ Application Program Interface (version 1.0), http://www.openmp.org.

  8. RFC2543. SIP: Session Initiation Protocol.

    Google Scholar 

  9. Saito, Y., Bershad, B. N., and Levy, H. M. 1999. Manageability, availability, and performance in Porcupine: a highly scalable, cluster-based mail service. Proc. Of the 17th ACM Symposium on Operating Systems Principles (Dec).

    Google Scholar 

  10. Schmidt, D. C. 1994. A domain analysis of network daemon design dimensions. C++ Report 6 (Mar).

    Google Scholar 

  11. SIPD. SIP proxy, redirect and registrar server, http://www.cs.columbia.edu/IRT/cinema/.

  12. Stevens, W. R. 1998. UNIX Network Programming (Vol.1, 2nd Edition): Networking APIs: Sockets and XTI, Prentice Hall, ISBN 7-302-02942-3.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Chen, Y., Fan, X., Jiao, J., Wang, D. (2003). Smart Active Object: A New Object-Oriented Programming Paradigm for Developing Multithreaded Applications. In: Nürnberg, P.J. (eds) Metainformatics. MIS 2002. Lecture Notes in Computer Science, vol 2641. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44872-1_10

Download citation

  • DOI: https://doi.org/10.1007/3-540-44872-1_10

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40218-3

  • Online ISBN: 978-3-540-44872-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics