---
title: "CORBA 保证jacorb实现"
author: "0dragon"
date: "2011-11-11T10:37:28Z"
tags: []
categories: ["企业架构"]
slug: "corba-jacorb"
draft: false
lastmod: "2011-11-11T10:38:10Z"
id: 1251656
url: "https://0dragon.iteye.com/blog/1251656"
---

-Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB

-Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton

 

这两个参数加到jvm启动参数里可以保证CORBA代码的实现使用jacorb

 

或者将以上参数加到系统Property中

 

 

System.getProperties().setProperty("org.omg.CORBA.ORBClass", "org.jacorb.orb.ORB");

System.getProperties().setProperty("org.omg.CORBA.ORBSingletonClass", "org.jacorb.orb.ORBSingleton");