T.R | Title | User | Personal Name | Date | Lines |
---|
27.1 | look in Advertisements | PAMSRC::PROCTOR | say it with objects | Thu Feb 27 1997 13:20 | 7 |
| The instances of bank account created by the setup.bat in the example11
directory are placed in the Advertisements directory. Try opening one
of these. The objects listed in the other directories are related to
interface repository. The agent server (activated on open) will not be
able to get type information for them.
bob
|
27.2 | Advertsements EMPTY | ULYSSE::CATTOLICO | | Fri Feb 28 1997 04:08 | 8 |
| bob,
thanks for you answer.
Unfortunately, I can't see anything under the
Advertisements directory.... what could have happened?
Paolo
|
27.3 | follow setup.bat | PAMSRC::PROCTOR | say it with objects | Fri Feb 28 1997 09:24 | 12 |
| I suggest looking at the setup.bat file in example11. In there are the
commands necessary to setup the namespace.
There are two important steps. One, registering the instance under a
given name using obbreg. Two, registering the interfaces for the
object in the interface repository using obbgencom. I suggest
executing these commands manually. If you get errors that the object
already exists, use obbunreg to remove advertisement registry and I
ussually just delete obb_bridge_*.ir to remove all interface
registrations.
bob
|
27.4 | Try running the demo to see how it's done | iceaxe.zko.dec.com::Rosen | Michael Rosen | Fri Feb 28 1997 09:25 | 24 |
| Paolo,
We do not use the Object Bridge administrator to expose CORBA objects to COM
clients. We only use it to expose COM services to CORBA clients (not supported
in the release that you have). Instead, we have integrated exposing COM
objects into our ObjectBroker shell extensions. When you right click on the
OMG IDL file, you will see a variety of choices. Pick Generate Code and then
choose the Desktop Views tab.
Have you run the "Desktop Bank11 Demonstrations" from the ObjectBroker program
group? If not, give it a try and see how it uses the shell extensions. One
word of caution. Do not actually follow the instructions in the pop up dialog
boxes. Just click on Okay. The demo will click all the appropriate buttons in
the applications. Let us know if the demo does not work correctly.
Basically, there are two step involved in getting objects to appear in the
advertisements folder in the Object Explorer. First you must expose them to
the bridge using the shell extensions, secondly, you must register the object
references in the objectbroker advertisement partition using the obbreg -O
command. Do you need more details on doing this?
Mike Rosen
|
27.5 | much better | ULYSSE::CATTOLICO | | Fri Feb 28 1997 10:28 | 17 |
| Thanks for your answers.
Now things are getting much better.
Manually executing \Example11\SETUP.BAT helped me in discovering
the error (in obbgencom: "Object BANK already exists").
So, I removed obbbridge_*.ir from the "repos" directory,
and NOW I can see the Checking_Acct object from the Advertisements.
I'll let you know how how I'm progressing.
Thanks again
Paolo
|