Methods sleep-wait
Differentiate between the methods sleep() and wait()?
Expert
The sleep() method is used while the thread has to be placed aside for a fixed amount of time. Like: sleep(1000), puts the thread separately for just one second. The wait() method is used to put the thread separately for up to the indicated time. It might wait for much lesser time if it obtains a notify() or notifyAll() call. Like: wait(1000), causes a wait of approximately one second. The method wait() is defined in the Object and the method sleep() is defined in class Thread.
Define exception? Demonstrate the working of nested try blocks, with suitable examples?
Briefly describe the state of deadlock?
Describe the main parts of JMS applications?
Elaborate daemon thread and which method is used to create a daemon thread?
Illustrate the Core container module?
Illustrate the purpose of the wait(), notify(), and notifyAll() methods?
Elaborate typical Bean life cycle in a Spring Bean Factory Container?
Elaborate JMS administered object?
Illustrate JDBC abstraction and DAO module?
Elaborate Role of the JMS Provider?
18,76,764
1928746 Asked
3,689
Active Tutors
1424123
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!