31. Which of the following values can be replaced in the place of 1 and 2 below Statement stmt = con.createStatement(1, 2);
Answer : ResultSet.TYPE_SCROLL_INSENSITIVE , ResultSet.CONCUR_UPDATABLE.
32. The EJB timer service is used for timing notifications. It can be used with
Answer : message-driven beans.
33. Implementing a message-driven bean requires that the developer extend two interfaces: a MessageListener interface and
Answer : a javax.ebj.MessageDrivenBean interface.
34. A message-driven bean developed for a JMS messaging system puts its business processing logic within which method:
Answer : onMessage method.
35. From which object do you ask for DatabaseMetaData?
Answer : Connection.
36. When a JSP page is compiled, what is it turned into
Answer : Servlet.
37. Controller components in struts are java classes and must be built using specific rules. They are usually referred as:
Answer : Action classes.
38. With Database metadata/ Resultset metadata
Answer : Information about database/Resultset can be obtained..
39. Select statements, which are valid for Cookie
Answer : Cookies can be disabled on client browser..
40. Select statements, which are valid for Session
Answer : Session gets destroyed when connection breaks..