CDAC Advanced Java Practice Questions

31. Which of the following values can be replaced in the place of 1 and 2 below Statement stmt = con.createStatement(1, 2);




Show Answer ?

32. The EJB timer service is used for timing notifications. It can be used with




Show Answer ?

33. Implementing a message-driven bean requires that the developer extend two interfaces: a MessageListener interface and




Show Answer ?

34. A message-driven bean developed for a JMS messaging system puts its business processing logic within which method:




Show Answer ?

35. From which object do you ask for DatabaseMetaData?




Show Answer ?

36. When a JSP page is compiled, what is it turned into




Show Answer ?

37. Controller components in struts are java classes and must be built using specific rules. They are usually referred as:




Show Answer ?

38. With Database metadata/ Resultset metadata




Show Answer ?

39. Select statements, which are valid for Cookie




Show Answer ?

40. Select statements, which are valid for Session




Show Answer ?