Question 11 :
How can a servlet refresh automatically if some new data has entered the database?
You can use a client-side Refresh or Server Push.
Question 12 :
The code in a finally clause will never fail to execute, right?
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?
JMS provide for two messaging models, publish-and-subscribe and point-to-point queuing.
Question 14 :
What information is needed to create a TCP Socket?
The Local Systems IP Address and Port Number. And the Remote System's IPAddress and Port Number.
Question 15 :
What Class.forName will do while loading drivers?
It is used to create an instance of a driver and register it with the DriverManager. When you have loaded a driver, it is available for making a connection with a DBMS.