Set - 4

Question 11 :

How can a servlet refresh automatically if some new data has entered the database?

Answer :

You can use a client-side Refresh or Server Push.


Question 12 :

The code in a finally clause will never fail to execute, right?

Answer :

Using System.exit(1); in try block will not allow finally code to execute.


Question 13 :

How many messaging models do JMS provide for and what are they?

Answer :

JMS provide for two messaging models, publish-and-subscribe and point-to-point queuing.