Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2002 21:33:09 -0400
From:      Dylan Carlson <absinthe@pobox.com>
To:        Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>, freebsd-java@freebsd.org
Subject:   Re: Good distributed app technique for Java FreeBSD?
Message-ID:  <200208212133.09593.absinthe@pobox.com>
In-Reply-To: <20020822012251.GA16283@dogma.freebsd-uk.eu.org>
References:  <20020822012251.GA16283@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208212133.09593.absinthe>