Object model in Java: elements and application
Abstract
AI Summary
Brief Overview
In March 1999, Saleh, K published the paper "Object model in Java: elements and application" online in INFORMATION AND SOFTWARE TECHNOLOGY. This research systematically reviewed and implemented the core elements of the object-oriented model in the Java language, addressing the deficiencies of traditional programming languages in object modeling completeness. By analyzing key mechanisms such as abstraction, encapsulation, and inheritance, the study revealed how Java simplifies and unifies various object characteristics, significantly enhancing code reusability and cross-platform collaboration. It provides both a theoretical foundation and practical paradigms for the design of modern distributed software systems.
Research Abstract
As software systems become increasingly complex, constructing programs with clear structures and high maintainability has become a critical challenge. Although early object-oriented languages each had their advantages, they exhibited clear shortcomings in supporting the completeness of object models. This paper focuses on the Java language, providing the first systematic elaboration of its comprehensive implementation of the seven object model elements proposed by Booch, such as abstraction, encapsulation, inheritance, and polymorphism, and adding the new dimension of object mobility. Through a practical case study of a telecommunications system, it demonstrates how these characteristics work together to support the development of applications that are highly concurrent, persistable, and cross-platform distributed. The study indicates that Java is not only syntactically concise but also reaches the standard of "comprehensive object orientation" at a theoretical level, laying an important foundation for the subsequent evolution of software architectures in the Internet era.
Background
Technical positioning: Java, with "Write Once, Run Anywhere" as its core advantage, is particularly well-suited for developing distributed applications in network environments. However, although multiple object-oriented languages emerged in succession, most only partially supported the key features of object models, making it difficult for systems to balance flexibility and stability. For example, C++ supports multiple inheritance but is prone to conflicts, while Smalltalk is highly abstract but lacks type safety. Therefore, how to fully implement an object model while maintaining language simplicity has been a bottleneck constraining the development of software engineering, urgently requiring a solution that satisfies both theoretical completeness and engineering practicality.
Key Highlights
- Comprehensive coverage of object model elements: Java integrates core concepts such as abstraction, encapsulation, and inheritance, functioning like a set of standardized building blocks that fit together precisely. This enables developers to efficiently construct complex systems and improves design consistency compared to traditional languages.
- Single inheritance plus interface extension design: By employing the mechanism where "a class can inherit from only one parent class but can implement multiple interfaces," Java avoids the complexity of multiple inheritance. This is analogous to securing the main beams of a house before flexibly adding functional modules, ensuring structural stability without sacrificing extensibility.
- Serialization enabling object persistence and mobility: Java allows objects to be "packaged and saved" to files or transmitted over the network, and restored to their original state upon restart. This is comparable to allowing data to flow freely like express parcels, greatly enhancing cross-platform collaboration.
Summary and Outlook
Based on the Java object model system, the unification of abstraction and encapsulation mechanisms achieved a comprehensive object-oriented breakthrough at the language level. This technology offers the dual advantages of high portability and strong type safety. The results show stable object communication performance in multi-threaded concurrent environments. In telecommunications system applications, cross-platform object invocation and remote service collaboration were implemented. This research not only addresses the industry pain point of incomplete object models in traditional languages but also, through its standardized design approach, provides a reusable methodological framework for the development of distributed computing, real-time control systems, and e-commerce platforms.

