From owner-freebsd-java Wed Aug 21 18:33:27 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 1807037B400 for ; Wed, 21 Aug 2002 18:33:26 -0700 (PDT) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id B48C743E7B for ; Wed, 21 Aug 2002 18:33:25 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17hgqK-0005QF-00; Wed, 21 Aug 2002 18:33:00 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: Jonathon McKitrick , freebsd-java@freebsd.org Subject: Re: Good distributed app technique for Java FreeBSD? Date: Wed, 21 Aug 2002 21:33:09 -0400 User-Agent: KMail/1.4.2 References: <20020822012251.GA16283@dogma.freebsd-uk.eu.org> In-Reply-To: <20020822012251.GA16283@dogma.freebsd-uk.eu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208212133.09593.absinthe@pobox.com> 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 On Wednesday 21 August 2002 09:22pm, Jonathon McKitrick wrote: > Would it make sense to make the instrument controller an EJB? How > about the processing web service? Or should one or both be servlets? > Would Jini be better here, or maybe just plain RMI? I've done this using RMI servlets under Tomcat. It worked pretty well, but ran into significant roadbumps early on -- not because of RMI, but because there wasn't enough logging in the code. So I think my advice with any distributed application is MAKE SURE you add lots and lots of logging in the code or it may be very difficult for you to understand where you are having problems ... when you do have problems (and assume that you will). There are a few logging choices you can choose; I suggest Log4J. Cheers, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message