[3775] in java-interest
monitoring properties & IO at init (two questions)
daemon@ATHENA.MIT.EDU (Anselm Baird_smith)
Mon Nov 27 19:23:17 1995
Date: Mon, 27 Nov 1995 20:26:09 +0100
From: Anselm Baird_smith <Anselm.Baird_Smith@inria.fr>
To: java-interest@java.sun.com
Reply-To: Anselm Baird-Smith <Anselm.BairdSmith@inria.fr>
Hi,
To save bandwith I'll ask two unrelated questions in one mail:
a) I am heavily using properties to configure my app, and I am
wondering what is *the* way to cope with properties redefinition at
runtime. (Why aren't system properties "observable" ?)
b) [Is probably a christmas wish] How would one fork the java
interpreter with some specific IO settings. Eg: I would like some
setuid (C) program to allocate a socket port < 1024, and than have it
fork the Java interpreter with this socket as System.in (or
whatever). How can I turn 'int fd' to ServerSocket objects ? - BTW,
with some interface to sendmsg(), I could have some terrific fun
exchanging fd's.
Thanks,
Anselm.
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com