-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

KC Wolff-Ingham wrote:

> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> Is it possible to share Java objects between Jserv instances?  I'm
> particularly interested in the clustered scenario where multiple Jservs
> across a number of machines are sharing the load.  The problem with this
> being that if a Jserv goes down you lose any objects that was being stored
> by that JVM. I've thought about using a database machine to store the data,
> but this again funnels into a single point of failure.#
>

The generic version of this question becomes "is it possible to share objects
between Java virtual machines?"  The core class libraries give you some ways
to send objects back and forth (RMI, CORBA) but there's no automated
persistence or replication layer that exists in the standard APIs for Apache
JServ (or any other Java app) to rely on.

However, this has been an area of active research.  I would suggest looking in
to some of the following topics:

* ObjectSpace Voyager (http://www.objectspace.com) supports the
  ability for objects to migrate from one JVM to another.

* IBM has support for a somewhat similar mechanism in their "aglets"
  concept, at the Alphaworks web site (don't remember the URL offhand).

* JavaSpaces (http://java.sun.com) is an experimental technology from
  Sun that sounds like it addresses this concern directly.

Given a layer on top of which to build, it would be feasible to add this kind
of support into the way that Apache JServ 1.0 currently does load balancing.
But that's going to take some pretty intricate work.  Volunteers?

>
> Thoughts anyone?
>
> KC Wolff
>

Craig McClanahan




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to