On Tuesday 22 January 2002 11:51, Ian wrote:

> > It seems that there are now a number of modules designed to offer
> diagnostic and useful internal information to the end user via a servlet.
> I propose that we bring these all under one flexible mechanism.
Tavin has done almost all of the work you would need to do this already with 
his MultipleHttpServletContainer.java.

The piece that's missing is a way to enumerate relevant data (Human readable 
text for servlet name, URL ) for other servlet's in the MHSC, perferrably in 
the same order they were defined in the config file.

If the MHSC made this data available through the Servlet attribute mechanism, 
then it would be trivial to write an index servlet which listed all the 
servlets available on the port and gave links to them.  The index servlet 
would then just be one more servlet in the MHSC.  This solution would be 
generic -- it could work for any kind of servlets you want to aggregate on a 
port, not just ones written to report status.

> Through this mechanism a hierarchy of Statlets can be created, which could
> then be presented to the user as a HTML menu (perhaps using frames) by a
> StatletManagerServlet, this could be accessed by browsing to
> http://127.0.0.1:8888/stats/ (I don't think there is much excuse for tying
> up another port, all HTTP communication with the user should be via port
> 8888).
I think we want to keep status on separate port from fproxy.  Most status 
servlets need access to the Node reference.  fproxy should be able to run
externally from the Nodes JVM.

--gj


>
> Thoughts?
>
> Ian.

----------------------------------------
Content-Type: application/pgp-signature; charset="us-ascii"; 
name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

-- 
Freesites
(0.3) freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage//
(0.4) freenet:SSK at npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage//


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to