Thank you very much for your effort.
but this code sceleton will not create any daemon process. Well, it will
create threads but how to run this program in the background so that it
can interact with different processes within a specified time.
Anyway, Thank you again for the pain u have taken to asnwer my question
--Shamshad


> STH LIKE THAT
>
>
>
> import ....
>
> public class your_class extends Thread
> {
>
>    // Constructor
>    public your_class()
>    {
>      start();
>    }
>
>    // The threads run method
>    public void run()
>    {
>        try
>        {
>          // Sleeping...
>          sleep(86400000);
>        } catch (InterruptedException e)
>        {
>          System.exit(1);
>        }
>    }
>
>    // Main
>    public static void main(String[] args)
>    {
>      new your_class();
>    }
> }
>
>
> -----Original Message-----
> From: Shamshad Alam [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 2:24 AM
> To: [EMAIL PROTECTED]
> Subject: Daemon Process
>
>
> Hello All
> Could anyone tell me how to write a Daemon process in java?
> Thank you
> --Shamshad
>
> ---------------------------------------------
> This message was sent using Endymion MailMan.
> http://www.endymion.com/products/mailman/
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-
INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-
INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com


---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to