Hi All,

I have a random question here.  I have an app that connect to a web
portal thingy.  Kind of hard to explain in a nutshell.  The thing with
it is that it needs to register and unregister with this portal.  I
can easily do this manually by hitting pages that connect to the
portal and register and unregister.  What I'm thinking about though is
if there is a way to have OpenBD or the servlet access a page in my
app to unregister when the they are shutting down?  Specifically I'm
asking about OpenBD.local, but this could to other setups as well.  I
could easily get this to register on startup with a scheduled task
that runs every few minutes and checks to see if it is registered.  If
not, then do it, if so, then just move on, but the unregister part
would be tricky.

I've found a couple things online that talk about making your own
container to run Jetty and then you can have a shutdown hook that
could do this.  But without having to write my own container, does
anyone know of another way?  Does OpenBD have something in it for
shutdown?

Thanks!

Ben

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

     Join us @ http://www.OpenCFsummit.org/ Dallas, Feb 2012

Reply via email to