From owner-freebsd-java Wed Jul 3 3:11:17 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 A9F0237B400 for ; Wed, 3 Jul 2002 03:11:15 -0700 (PDT) Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DEBF43E5E for ; Wed, 3 Jul 2002 03:11:14 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 17Ph6O-000ClM-00; Wed, 3 Jul 2002 11:11:12 +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 g63ABB3H072602; Wed, 3 Jul 2002 11:11:11 +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 g63ABAaS072601; Wed, 3 Jul 2002 11:11:10 +0100 (BST) Date: Wed, 3 Jul 2002 11:11:10 +0100 From: Jonathon McKitrick To: Jonathan Chen Cc: freebsd-java@FreeBSD.ORG Subject: Re: Anything like COM in Java? Message-ID: <20020703111110.A72576@dogma.freebsd-uk.eu.org> References: <20020628122202.A31586@dogma.freebsd-uk.eu.org> <20020628185157.A33576@dogma.freebsd-uk.eu.org> <20020628220442.GB49867@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20020628220442.GB49867@grimoire.chen.org.nz>; from jonc@chen.org.nz on Sat, Jun 29, 2002 at 10:04:42AM +1200 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 | > 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? | | Would a network classloader do what you want? There'd be still quite a | bit of work to do to handle the interaction. On looking at things more closely, COM is not dynamic run-time binding. Since you still have to begin with a type library, the interfaces are all defined ahead of time, just like Java. So, it looks like the best way to do this is with Java interfaces, just like I'd planned. 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