Hi all gurus!
> [EMAIL PROTECTED] wrote:
>
> > Can Java catch signals ?
> >
> > Could the Java Native Interface be used to help Java catch signals ?
> >
> > * prelim design in my head *
> > I have a huge script that run configurable batch jobs sequently over
several hours.
> > I would like to rewrite the damn thing in Java, so that I could
write module
> > to display dynamic status on the web via a browser. The only problem
is that
> > java does not handle system interrupts or external stimuli well
enough.
>
Why don't you write a small C program to launch a Java program, catch
signals and acton upon it (restart JVM, whatever). Maybe this has been
discussed before, I haven't been following this thread....
GreetinX++, Ernst de Haan
+---------------------------------------------------------+
| "Come to me all you who are weary and burdened, and I |
| will give you rest." |
| |
| -- Jesus Christ (Mt. 11:28) |
+-----------------------+---------------------------------+
| Ernst de Haan | email mailto:[EMAIL PROTECTED] |
| Java programmer | web members.xoom.com/znerd/ |
+-----------------------+---------------------------------+
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com