Return-Path: Delivered-To: apmail-avalon-dev-archive@www.apache.org Received: (qmail 56735 invoked from network); 22 Oct 2003 07:52:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Oct 2003 07:52:27 -0000 Received: (qmail 98269 invoked by uid 500); 22 Oct 2003 07:52:10 -0000 Delivered-To: apmail-avalon-dev-archive@avalon.apache.org Received: (qmail 98213 invoked by uid 500); 22 Oct 2003 07:52:10 -0000 Mailing-List: contact dev-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Developers List" Reply-To: "Avalon Developers List" Delivered-To: mailing list dev@avalon.apache.org Received: (qmail 98200 invoked from network); 22 Oct 2003 07:52:10 -0000 Received: from unknown (HELO sg1-wwd.cirquedigital.com) (65.223.48.51) by daedalus.apache.org with SMTP; 22 Oct 2003 07:52:10 -0000 Received: from cirquedigital.com (lsanca1-ar45-4-62-164-162.lsanca1.elnk.dsl.genuity.net [4.62.164.162]) (authenticated bits=0) by sg1-wwd.cirquedigital.com (8.12.8/8.12.8) with ESMTP id h9M7pWoE024426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Oct 2003 00:51:46 -0700 Message-ID: <3F963746.3080508@cirquedigital.com> Date: Wed, 22 Oct 2003 00:52:38 -0700 From: Filip Defoort User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Avalon Developers List Subject: Re: merlin swing apps References: <3F95C2FE.7040904@cirquedigital.com> <3F95CB64.5030302@apache.org> In-Reply-To: <3F95CB64.5030302@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stephen McConnell wrote: > Filip Defoort wrote: > >> Hi, >> >> Does anybody have any thoughts on pros and cons of building swing >> applications >> with merlin? I have a rather large swing app running in Fortress >> right now, and >> that's all running as expected. >> .... > > > I would take something like kernel/unit package as an example and > retro fit to handle the swing context (using a variant of > DefaultEmbeddedKernel as Alex suggested). This will let you handle > errors, exceptions, etc. I figure some of this will be changing but > the changes will be based on experience gained in different embedded > scenarios - and a swing scenario is more input. > Cheers, Steve. That looks easy enough indeed. I could even simply add some things in Merlin.java: basically all I need is some sort of splash screen (I'm using a BroadcastLogger that displays info messages into it while starting up) and then get to the kernel exceptions and display them -- the actual gui is simply a component and can easily be started.. Thinking further on that: as an intermediate step between completely splitting my stuff in server <-> client, is it possible to dynamically load and unload containers into an already running Merlin kernel ? That way I could use merlin as an NT service and load all the stuff that takes a while to load, but when the user loads the gui, simply contact the NT service and drop the gui container in the kernel, which would come up nice and fast and have access to all the services of the container... Is this possible ?? Thanks for the input so far! - Filip --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org For additional commands, e-mail: dev-help@avalon.apache.org