Java is rapidly becoming one of the most popular object-oriented languages. It is portable and architecture neutral, it is easy to use, it is designed to support the development of highly reliable and robust applications, it is dynamic. But it is not truly concurrent. Indeed, Java supports a limited form of concurrency through a class Thread, provided as part of the Java standard library. Concurrency features, however, do not integrate nicely with the object-oriented paradigm. Java programmers are required to take care of many details to develop concurrent applications. In this paper, we describe the language CJava, an extension of Java featuring concurrent objects. We also discuss how CJava can be mapped into Java.
CJava: Introducing concurrent objects in Java
CUGOLA, GIANPAOLO;GHEZZI, CARLO
1997-01-01
Abstract
Java is rapidly becoming one of the most popular object-oriented languages. It is portable and architecture neutral, it is easy to use, it is designed to support the development of highly reliable and robust applications, it is dynamic. But it is not truly concurrent. Indeed, Java supports a limited form of concurrency through a class Thread, provided as part of the Java standard library. Concurrency features, however, do not integrate nicely with the object-oriented paradigm. Java programmers are required to take care of many details to develop concurrent applications. In this paper, we describe the language CJava, an extension of Java featuring concurrent objects. We also discuss how CJava can be mapped into Java.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.