[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

1280.0. "Java<->COM<->OBB" by HOUBA::MEHERS (Damian Mehers@GEO / [email protected]) Wed Jul 24 1996 12:46

T.RTitleUserPersonal
Name
DateLines
1280.1seemless, really TUXEDO::FLEMINGFri Jul 26 1996 10:2523
1280.2FBEDEV::KYZIVATPaul KyzivatFri Jul 26 1996 14:1919
1280.3TUXEDO::FLEMINGFri Jul 26 1996 16:078
1280.4HOUBA::MEHERSDamian, http://bigbird.geo.dec.com/Fri Apr 25 1997 06:255
    FWIW, SEND::OBJECTBROKER_DTC note 35 shows what I was hoping for,
    when I entered the base not in July last year.
    
    	/Damian
    
1280.5SEND::KONKUSFri Apr 25 1997 10:3220
    Yup, Java<->COM<->OBB seems to work fine for many cases. However, there
    are limits (as one might expect). For instance, I had written a much
    more complete Java client app for the example posted in
    objectbroker_dtc, but was never able to successfully access the
    transactions array (bridged to the COM dual interface as a variant
    containing an array of IDispatch references). Mail from Microsoft 
    support confirms that they never got around to implement any methods
    for their Java com.ms.com.Variant class to support accessing VT_Array 
    types. (Variants are improved in their current beta software, but even
    that doesn't support VT_Array.)
    
    As a work around, I'm adding additional methods to the example corba
    server for fetching transactions without using arrays. Easy to do
    in an example, not so easy to do with some existing servers.
    
    The lesson in all of this is that the Java<->COM<->OBB bindings work,
    but treat it with suspicion and write a quick little prototype to
    verify that all your datatypes work before committing to a major
    Java client application.