Smart active object: a new object-oriented programming paradigm for developing multithreaded applications

  • Authors:
  • Yan Chen;Xinyuan Fan;Jian Jiao;Dongmin Wang

  • Affiliations:
  • Dept. of Electronics Engineering, Shanghai Jiaotong University, Shanghai, China;Dept. of Electronics Engineering, Shanghai Jiaotong University, Shanghai, China;Dept. of Electronics Engineering, Shanghai Jiaotong University, Shanghai, China;Dept. of Electronics Engineering, Shanghai Jiaotong University, Shanghai, China

  • Venue:
  • MIS'02 Proceedings of the 2002 international conference on Metainformatics
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

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.