On Tue, 2003-05-27 at 14:10, Niclas Hedhman wrote:
> On Monday 26 May 2003 03:14 pm, Stephen McConnell wrote:
> > When you say "distributed applications" - what sort of distribution are
> > you thinking about? Distinctions I have in mind include "distribution by
> > value" (as in JNLP style) or "distribution client/server" (e.g.
> > IIOP/RMI), or "peer-to-peer" (more fun and typically involve a
> > composition of both of previous style of distribution).
> 
> Not sure what Aaron means by distributed applications, but both your Value and 
> C/S "style" is not pure "distributed apps", more a communication, location 
> and "who is in control" method. Peer-to-Peer is more like it, and YES, they 
> often need some of the "Value" and "C/S" methods to be made work.
> 
> A distributed app is, for instance, a server application, running on N 
> systems, and don't really care where it is executing, can be spawned for 
> scalability and system-fault tolerance (by itself very tricky, largely 
> depending on application type). With proper modularity (components) scaling 
> can occur at bottlenecks, and not at "full-server", level.

I'm currently facing a couple of "distributed" application situations:

1. Classic client/server -- nothing really to elaborate on here

2. Multiple Avalon Containers --
   Perhaps this isn't a typical distributed application, but it's
something I'm running into now.  In one case I have a standalone
application which uses Fortress.  It has a swing front end and is used
essentially as a client.  One the other hand I also have a Merlin-based
application running as a service/daemon.  So I have two Avalon
containers in separate virtual machines and sometimes they need to use
similar services.  I've considered a couple of ways that the Fortress
components could access services provided by the Merlin container, but I
would prefer it if this could be accomplished without the individual
components knowing if the services are hosted in Fortress or Merlin.  In
other words, the component looks up it's dependent service via the
ServiceManager just as if it were local. Theoretically, the idea could
be extended to VM's running on separate PC's completely.

3. Distributed Deployment --
   In the case of our Fortress and Merlin applications we have something
like 70 clients running these two applications.  "Pre-Avalonization"
each client ran identical code but was configured via a local property
file.  The jar files were hosted on a public shared directory which
eased our deployment considerably.  Just drop the jar files onto the
server and wa-la! all the clients pick up the new updates as soon as
they are restarted.
  This solution has a number of advantages and disadvantages.  We've
also started using Java WebStart (JNLP) for some deployments, but again,
there are a number of pros and cons.  What is needed is a way that
allows for local configuration and caching (for offline use) but a
single point of deployment.  JNLP provides most of this, but becomes
tricky when deploying something like a Merlin-based server and many JNLP
clients have performance issues.
  The solution I'm looking into now is combining Maven and it's concept
of a remote repository with Merlin's concept of a repository.  It would
allow for blocks to be configured locally but downloaded from the remote
Maven repository to the local Merlin repository.  Even better it allows
us to take advantage of Maven's build and deployment tools.
  This solutions still has some drawbacks from JNLP since currently for
Merlin the block files are local.  However, I imagine there might be a
way to have the block files located on a remote server (perhaps in the
Maven repository) and then have some sort of way to tell Merlin to
download, cache and run them.  I'm still looking into this part. 

> There are no solutions avaiable at the generic level available at the moment, 
> and _I_ believe it is the "killer framework" awaiting to be "invented" in the 
> next couple of years. But what do I know? ;o)
> 
> 
> Niclas
 
+1

-- 
  jaaron    <http://jadetower.org>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to