摘要
容器作为CCM体系结构中的一个重要组成部分,是CORBA服务器编程框架,为构件提供运行环境。容器集成了CORBA服务和生命周期管理,从而简化了CORBA服务器端编程。文中遵循CORBA构件模型CCM,简要介绍了容器实现的机制,并在此基础上给出了基于伺服程序管理器的实现模型。针对该实现模型,对容器实现中涉及的各个要素进行了分析,实现了一个会话容器原型,该容器实现采用了对象和构件实例的延迟创建、伺服程序缓冲池等技术,提高了内存的利用效率和容器的运行效率,这对容器的设计和实现有一定的参考价值。
As an important part of CCM architecture,the container is programming frame of CORBA server,provides the running environment of component and integrates CORBA service and life cycle management.It simplify the programming work of CORBA server.Following OMG's CORBA component model CCM,the paper simply introduces the container implementation mechanism and gives the servant manager container implementation model.Aiming at the model,the paper analyzes the elements of the container implementation and implements the session container prototype.The container implementation,through adopting some technology such as deferred creation of objects and component instances,servant buffer pool,improves the use efficiency of memory and operational efficiency of the container.It has certain reference value for the container design and implementation.
出处
《微机发展》
2004年第4期12-14,共3页
Microcomputer Development