Results 1 to 2 of 2

Thread: Running Thread Continuously

  1. #1
    Junior Member
    Join Date
    Sep 2007
    Answers
    1

    Running Thread Continuously

    What is web.xml?
    How we create a new JSTL class?
    Explain your project Architecture means what we can tell? My project can be developed by using struts mvc-2 architecture that only we want to explain na?
    What is the Filter?
    Continuously thread can be run by which method?
    what is runtimeException and Error and Exception?


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    42

    Re: Running Thread Continuously

    Hi,
    I don't have answers to all your questions, but I can answer a few:

    1. web.xml is a deployment descriptor in a web application. It contains the configurations required for the application.

    2. To create a continuously running thread: I guess you are speaking of a daemon thread. These thread run in the background. To set a thread as daemon, you just have to set that property for the thread. Call threadObj.setDaemon(true).

    3. From what I understand from your last question:
    Runtime exception is an exception that occurs only when the application is run. For Eg: NullPointerException
    Error: I guess Compile time errors would fit this category
    Exception: Some java methods throw an Exception. These are some exceptions that may arise when the program is running. Eg: IOException

    I hope this helps.
    Regards,
    Sahil.


    --Smile, it makes others wonder what you are thinking.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact