Writing concurrent desktop applications in an actor-based programming model

Jan Schäfer, Arnd Poetzsch-Heffter
2010 Proceedings of the 3rd International Workshop on Multicore Software Engineering - IWMSE '10  
GUI frameworks, like Swing, are typically not thread-safe. Desktop applications are thus often written in a purely singlethreaded, event-based style. Introducing threads into such applications is not an easy task as potentially all parts of the application may be affected by this change. Instead of using a thread-based programming model, actor models are regaining attention lately. The actor-based CoBox model is based on isolated object-oriented components communicating via asynchronous method
more » ... alls. The model is implemented in a Java extension, called JCoBox, and has been successfully used to implemented several concurrent desktop applications. In this paper we show how a typical desktop application is designed and implemented in JCoBox.
doi:10.1145/1808954.1808958 fatcat:iyvuj73bvnh3fakkplwv77suhe