logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: ChibaServlet implementation and clustering: msg#00009

Subject: Re: ChibaServlet implementation and clustering
Hello Steven,


Steven Marcus wrote:
Hello all,

I am new to Chiba and have been reading the great docs and generally
trying things out.
Thank you for releasing Chiba to the world and especially taking
things like the conformance status reports so seriously.

I read the cookbook, which explains a great deal about how things are
done and where to extend. Thank you again.

In the XForms specification, the state of a specific form is defined
entirely by the user's xml instance data being submitted. Is this
still the case with Chiba?
well, no. i don't think the spec says something like that. - while this might considered true for the final submit result there are especially the MPEs (Model Item Properties) that represent the state of the instance along with its data. these properties say if a data-item is readonly or readwrite, whether it's relevant or not or valid or not at a given time. so there's much more around than the naked instance data to express the whole state of a form at runtime. every single node in the instance has a set of these properties attached.

That is, does the browser hold the entire user state of the xform
session, and the ServletAdapter/ChibaBean in the servlet's user
session function merely as a redundant cache of that data? If that is
the case the ServletAdapter/ChibaBean could theoretically be
thrown-away and reconstructed each time the user POSTs the data?
so, for the above reasons the browser actually does not hold all this state information (at least not for now ;) or at least not in a easily reconstruable form. we'll start working on scripted browser support (which will incorporate such state-transfer) after 1.0 has been rolled out. everyones invite to take part ;)


Why do I ask? I am thinking of a clustered implementation where it
might not be possible/desirable to have the user's browser bound to a
particular web server.
this topic has been repeatedly discussed on this list. to a certain degree it should be possible to use Chiba in a clustered environment - see review the older messages on this topic. better support will come in the future but it'll be still some way to go.

thanks for your warm words for Chiba - always appreciated and hope you'll continue to work with Chiba.

Joern

thanks in advance,
Steven Marcus


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Chiba-developer mailing list
Chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/chiba-developer




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>