From owner-freebsd-java Fri Jun 28 10:53:25 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E624837B400 for ; Fri, 28 Jun 2002 10:53:19 -0700 (PDT) Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id E155643E0A for ; Fri, 28 Jun 2002 10:53:18 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 17NzuY-0003G4-00; Fri, 28 Jun 2002 18:51:58 +0100 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.3/8.11.1) with ESMTP id g5SHpv3H033640; Fri, 28 Jun 2002 18:51:58 +0100 (BST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.3/8.12.3/Submit) id g5SHpvXc033639; Fri, 28 Jun 2002 18:51:57 +0100 (BST) Date: Fri, 28 Jun 2002 18:51:57 +0100 From: j mckitrick To: John Utz Cc: freebsd-java@FreeBSD.ORG Subject: Re: Anything like COM in Java? Message-ID: <20020628185157.A33576@dogma.freebsd-uk.eu.org> References: <20020628122202.A31586@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from john@utzweb.net on Fri, Jun 28, 2002 at 11:33:16AM -0500 X-Scanner: exiscan *17NzuY-0003G4-00*iRtn1y8ibtk* (Manchester Computing, University of Manchester) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org | with the risk of being overly flip; you like COM because you haven't | written any full size multiple developer products with it yet! | | it get's very fragile and fiddly when you get up to the multiple 100's of | interfaces. We have quite a few in ours, but not hundreds. There are basically 2 things I like about it: GUIDs, so if I say I want a certain version of an interface, the GUID guarantees it is. It breaks down to straight function calls for in-process servers. No overhead, less work than CORBA. | i could explain some more practical and pragmatic challenges associated | with COM ( which i agree is pretty darn nifty in theory ), but this is the | freebsd java list. Please, email me privately. ;-) | umm, CORBA? are you trying to interoperate with a non java app? any non | java app has to speak the same binary interfacing standard. What I really want is the total separation of functionality that components can provide. Now, the ugly part of COM is the type library. That's the necessary link. What can I do in Java that would allow one class to dynamically bind (early) to another? I'm rather convinced at this point that components dramatically improve project organization beyond a certain point. My current project uses a great deal of inheritance, but components really separate functions into contract interactions. How can I do this in Java? Do Interfaces work well enough for this? Is there a Java binary equivalent, so the binding takes place at run-time rather than compile-time? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message