Y
Yogee
Hi,
I have a servlet that reads its configration from a xml file during
init().
A web based interface will be used to specify the configuration used by
the servlet. The interface will do a post on servlet and the servlet
will rewrite it's conf file.
My doubts:
what will happen to the ongoing post requests during which init will be
called in doPost(). Is it a good idea? Is it feasible?
what is the other way of telling a servlet about change in
configuration, without manual changes in the configuration.
Second question:
-------------------
There are other stand alone components which need to be notified of any
configuration changes. Is it a good idea to use telnet for this
components from the web interfaces to inform about changes in the
configuration.
All the components are bound to work in a LAN with all ports open
across each other.
I have a servlet that reads its configration from a xml file during
init().
A web based interface will be used to specify the configuration used by
the servlet. The interface will do a post on servlet and the servlet
will rewrite it's conf file.
My doubts:
what will happen to the ongoing post requests during which init will be
called in doPost(). Is it a good idea? Is it feasible?
what is the other way of telling a servlet about change in
configuration, without manual changes in the configuration.
Second question:
-------------------
There are other stand alone components which need to be notified of any
configuration changes. Is it a good idea to use telnet for this
components from the web interfaces to inform about changes in the
configuration.
All the components are bound to work in a LAN with all ports open
across each other.