Hi folks,

     This is related to the earlier discussion of coding servlets to
reload config data dynamically.  Is there any sort of standard
"out-of-band" communication capability in the servlet API?

     The only way I'm currently aware of to communicate with a servlet
is to invoke it as a URL (i.e. doPost/doGet, etc), and since those
methods are the ones that do most of the workhorse tasks, I'd rather
not have the code be evaluated for every request.  I'm thinking of
overriding one of the less-used sub-service methods, like doPut() or
doDelete(), to trigger the reload.  This feels like a real kludge, but
is there any alternative?

     I guess the "right" answer is to override service() and add my
own flavor HTTP operation, RELOAD.  Of course then I have to write a c
special client to send a RELOAD operation.

Steven J. Owens
[EMAIL PROTECTED]
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to