ElastosRT is a development framework.
The programming idea with CAR is the essential technology in Elastos, it runs through the entire technology system implementation. In Elastos Runtime the component library provided by the Elastos framework is implemented using CAR technology.
-
What is CAR? CAR means The Component Assembly Runtime (CAR). It is Java with machine code. It is COM with metadata.
It is a component-oriented programming model and also a programming idea, and it is described by special standards divided in two parts: specification and implementation. The specification part tells how to define the components and how to communicate among components. Following the specification, any language can be used. Thus, CAR can be implemented in many ways. Elastos operating system implements the CAR core services.
CAR components provide service using interface, component interface needs the metadata to describe the component so that other users can know how to use the service. Metadata describe the relationship between services and calls. With this description, calling between different components becomes possible, and members of the long-range, inter-process communication can be properly carried out. The major solved problems by CAR component technology are: component from different sources can interoperate; components upgrade but affect no other component; component is independent of the programming language; transparency of component operating environment.
- CAR Programming
- Call a remote CAR componet (RPC)
- H5 App - JS call CAR (Coming soon ...)
- Android App - Java call CAR
- iOS App - Object C call CAR
If you want to learn more, please refer to the following: