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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Apache HTTP server project. http://httpd.apache.org/.
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).
Gosling, J., Joy, B., Steele, G., and Bracha, G. The Java Language Specification (Second Edition), http://java.sun.com/.
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).
Lewis, B. and Berg, D. J. 1996. Pthread Primer-A Guide to Multithread Programming, Sunsoft Press, ISBN 0-13-443698-9.
OpenMP Architecture Review Board. OpenMP: a proposed industry standard API for shared memory programming. White paper. http://www.openmp.org.
OpenMP Architecture Review Board. OpenMP C and C++ Application Program Interface (version 1.0), http://www.openmp.org.
RFC2543. SIP: Session Initiation Protocol.
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).
Schmidt, D. C. 1994. A domain analysis of network daemon design dimensions. C++ Report 6 (Mar).
SIPD. SIP proxy, redirect and registrar server, http://www.cs.columbia.edu/IRT/cinema/.
Stevens, W. R. 1998. UNIX Network Programming (Vol.1, 2nd Edition): Networking APIs: Sockets and XTI, Prentice Hall, ISBN 7-302-02942-3.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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