[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference pamsrc::objectbroker

Title:ObjectBroker - BEA Systems' CORBA
Notice:See note 3 for kits; note 5 for training; note 1134 for releases
Moderator:TLE::PARODId
Created:Tue Jul 11 1989
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1413
Total number of notes:6391

1409.0. "Objrefs explicitly code their operations?" by LEMAN::DONALDSON (Froggisattva! Froggisattva!) Fri May 23 1997 12:31

Can you explain what is different about stringified objrefs
since v2.7?

The length of objrefs now seems to depend on the number of
attributes and operations in the interface. Is this true?
(It didn't use to be, right?).

So that large interfaces will have large stringified objrefs.

What is the purpose of this? Surely the id of the interface
should give access to all the necessary info about the interface.

John D.
T.RTitleUserPersonal
Name
DateLines
1409.1I think not newOSAV03::NOSETooru Nosse, Japan West PSC/OS2Fri May 23 1997 14:3628
	Hi John.

>The length of objrefs now seems to depend on the number of
>attributes and operations in the interface. Is this true?
>(It didn't use to be, right?).
	Objref contains all of the information to bind METHOD since ** V2.5B **
	(Below are that of V2.5B)
		Interface UUID
		For each operation:
			operation uuid
			operation index
		For each bound implementation:
			Implementation ID
			binding policy
			activation type
			operation mask (bitmap to show implemented operation)
			Server instance ID
			Server location
				etc.

	(In the day of V2.5B, I did analyze and PATCH OBJREF that was broken
	because of OBB's bug :-).

	Yes, Large Interface had surely very large objref.

	I don't know V2.7 well, so I can't write about it.

/Toru
1409.2LEMAN::DONALDSONFroggisattva! Froggisattva!Fri May 23 1997 15:2617
Tooru. Many thanks.

I guess I just hadn't noticed in 2.5 and 2.6.

Just to tell the story. I've been adding to a
test set (to test different sequences) and adding
ooprations to one interface. At a moment I started
getting a corrupted objref. It turned out that 
my char array was only 1500 bytes! And I'd gone
past that.

I surely would like the contents of an objref properly
documented, and an objref dissasembler. (I've got
something but it doesn't pull out everything in your
list, just interface, impl, ref data and bindings).

John D.
1409.3I sent my analysis to JohnOSAV03::NOSETooru Nosse, Japan West PSC/OS2Sat May 24 1997 03:371
1409.4REQUE::BOWERPeter Bower, ObjectBrokerSun May 25 1997 13:273
    With IIOP, stringified object references will not have attribute
    and operation information.