With the rapid development of object-oriented technology, the study for distributed computing model is developing towards that for distributed computing object model. in the distributed system, object adapter is in charge of all the operations of application objects including creation, location, activation, deactivation, deletion and moving of objects. However, there lie some portability problems with existing object adapter which reduce the reusability of distributed application and further affect the efficiency of software engineering. Firstly, the paper analyzes the role of object adapter in distributed system. Secondly, it specifies the defect of non-portability in basic object adapter. At last it presents the solutions to portability and demonstrates intensively the enhancement of portability from four aspects including the classification and explanation of portable object policies, the delaying creation of objects in distributed system, the optimization of memory in server, and the re-creation of persistent object in distributed system. In the process the paper simultaneously abstracts many solutions and design patterns which can be adapted to other distributed systems. I ultimately applied to the TROBUS system all the solutions and patterns I proposed. In the development of TROBUS system I design and implement the portable object adapter. |