Font Size: a A A

Component NextGen: A sound and expressive component framework for Java

Posted on:2008-02-23Degree:Ph.DType:Thesis
University:Rice UniversityCandidate:Sasitorn, JamesFull Text:PDF
GTID:2458390005979967Subject:Computer Science
Abstract/Summary:
Java has transformed mainstream software development by supporting clean object-oriented design, comprehensive static type checking, safe program execution, and an unprecedented degree of portability. Despite these significant achievements, the Java language has been handicapped as a vehicle for writing large applications by the absence of a component system for decomposing applications into independent units with statically checked interfaces.; Developing a general component system for an object-oriented language, such as Java, is a challenging design problem because inheritance across component boundaries can cause accidental method overrides. In addition, mutually recursive references across components are common in object-oriented programs---an issue that has proven troublesome in the context of component systems for functional and procedural languages.; This thesis discusses how a component framework can be constructed for a nominally typed object-oriented language supporting first-class generic types simply by adding appropriate annotations and syntactic sugar. The fundamental semantic building blocks for constructing, type-checking and manipulating components are provided by the underlying first-class generic type system. To demonstrate the simplicity and utility of this approach we have designed and implemented an extension of Java called Component N EXTGEN (CGEN). CGEN, which is based on the Sun Java 5.0 javac compiler, is backwards compatible with existing Java binary code and generates code that can be executed on current Java Virtual Machines.
Keywords/Search Tags:Java, Component, Object-oriented
Related items