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