J2EE



Short Questions of J2EE
  
  1. Single Tier architecture represents the _____ tier.
  2. Application is divided into client side and server side is called_______ 
  3. Mostly programming functionalities and programming logic is located in_____ 
  4. Which API is used for building a dynamic web application? 
  5. Which protocol is stateless protocol? 
  6. _______ provides the communication platform between client andcomponents. 
  7. JNDI stands for____ 
  8. EJB Stands for ________ 
  9. Which is not a type of container? 
  10. Which is used to host a web application? 
  11. Who was developed Java? 
  12. What is the use of JNDI? 
  13. EIS tier is also known as ____________ 
  14. _____ is used to serve the request and response between client and server. 
  15. RMI means __________________(Nov-12) 
  16. _____ is not a layer of RMI. 
  17. RRL stands for ______________ 
  18. Stub is also called_____________ 
  19. _____ layer is working on the concept of TCP/IP. 
  20. There are ___ components in RMI. 
  21. The main use of RMI is ____________ 
  22. Skeleton is a ________ side class. 
  23. lookup () method is used to __________ 
  24. __________ is the exception for the remote objects. 
  25. An object on another computer is known as __________ 
  26. Which compiler is used to generate the stub and skeleton? 
  27. ________ is used to look up objects by it’s name. 
  28. Registry and naming service is work on a particular _________ 
  29. Which is the second layer in RMI.    (Oct-12) 
  30. JDBC Stands for _______________ 
  31. _________ statement is used to perform diff.database operations. 
  32. What is the fullform of DSN? 
  33. Which package you will require for develop JDBC application? 
  34. ODBC stands for________ 
  35. Which is not the method of connection interface? 
  36. What is the use of Class.forName()? 
  37. Which method is used to select the records from table? 
  38. Which interface is used to get the information related to the database? 
  39. By using which attribute, a cursor can scroll and modified in the table? 
  40. Resultset is just like a container which holds the _________ 
  41. How can you execute a stored procedure in JDBC? 
  42. What happen if you call the method close() on connection before execute select  query? 
  43. _____ is used to retrieve field name of table. 
  44. next() is the method of_____________ 
  45. Which of the following method is belong to the DatabaseMetaData? 
  46. Which of the following driver is also known as type-3 driver? 
  47. Which package is used to develop servlet programs? 
  48. Which method is not belong to the servlet interface? 
  49. Which is the proper sequence of servlet life cycle? 
  50. doGet() and doPost() methods are called via______ 
  51. Which interface is used to handle all kind of HTTP requests? 
  52. Which interface is used to ensure that servlet handle only one request at a time? 
  53. Generally doPost() is used to handle all kind of _______ request. 
  54. When a servlet is permanently or temporary unavailable, ____ exception is thrown. 
  55. encodeURL() is the method of ________ 
  56. Cookie is located in ________ 
  57. addCookie is a method of _______ 
  58. Which of the following is not a session tracking approach? 
  59. Which method is used to set the life of a cookie? 
  60. getQueryString is used to ________________ 
  61. _____ returns the Boolean value which shows that session is new or not? 
  62. Which is not true about getWriter? 
  63. forward() is a method of ________interface. 
  64. Which method is not belong to the ServletContext interface? 
  65. Which method is not belong to the ServletConfig()? 
  66. Which method returns the current session?   (Oct-12) 
  67. Which of the following is not the method of HttpServlet Class?      (Oct-12) 
  68. Which of the following can be used to store the user information on the client PC?   (Oct-12) 
  69. Using of which interface provide fundamental framework for all servlet? (Nov-12) 
  70. A piece of data assigned by a server that facility is also known as ____ (Nov-12) 
  71. Using of which feature , we can maintain the state of session? (Nov-12) 
  72. JSP stands for ____________ 
  73. JSP Servlet Engine will parse the JSP file if ____________ 
  74. __________ package is used to create servlet code from JSP file 
  75. Which of the following is not an element of JSP page? 
  76. ____________ is used to pass the page information to the JSP container. 
  77. _______ declares that, JSP file used the custom tags, names from the tag library. 
  78. __________ is used to apply comments in JSP page. 
  79. Which of the following scope if least restrictive? 
  80. Which element is used to embed an java applet into your JSP page? 
  81. __________ scope variables will only retrieved if the request is forwarded. 
  82. Which of the following is not a Implicit object of JSP? 
  83. Scope of out object is _______ 
  84. contentType in page directive is help to define_______ 
  85. Which objects are not threads safe? 
  86. Which of the following error message displayed when page is not found at the correct location? 
  87. tld file is used when ____________ 
  88. In which of the following scopes, the variable is visible only within the current page?          (Oct-12) 
  89. Which of the following is not an implicit JSP object ? (Oct-12) 
  90. Which tag in JSP is used to define the error page? (Oct-12) 
  91. Which of the following error message displayed when the page is not found at the current location?  (Nov-12) 
  92. What is the EJB? 
  93. Why we are using the JSP? 
  94. If we used the execute() and executeBatch() method what will happen()? 
  95. Define the term JNDI? 
  96. What is the getXXX() and setXXX() Methods? 
  97. Explain the getConnection() Method. 
  98. What is the use of stud & skeleton file. 
  99. When is the HttpServletRequest interface in servlet. 
  100. Explain the LocateRegistry interface. 
  101. when we write   public void doGet(HttpServletRequest req,HttpServletResponse res)
                {   
                    res.setContentType(“text/html”);
                    PrintWriter out = req.getWriter();
                    out.println(“<body bgcolor=’red’ text=’white’>Hello</body>”);
                }
               It gives output if yes then what is the output?
  102. What is session Bean.
  103. What is the use of Configuration class in hibernate? 
  104. What is JavaBeans. 
  105. What is the use of JSTL. 
  106. List out the hibernate jar files. 
  107. What is the use of Spring. 
  108. Define the term MVC. 
  109. What is the use of transient state in hibernate. 
  110. What is the use of struts.property file? 
  111. Which protocol is stateless protocol? 
  112. The main use of RMI is ____________. 
  113. Which package you will require for develop JDBC application? 
  114. By using which attribute, a cursor can scroll and modified in the table? 
  115. Registry and naming service is work on a particular _________ 
  116. EIS tier is also known as ____________ 
  117. Which of the following is not an element of jsp page. 
  118. What is the full form of MDB.          
  119. Which is The current version of EJB. 
  120. What is the full form of EJB. 
  121. Serializability of a class is enable by the class implementing  which package. 
  122. Which are reusable software components for Java.  
  123. Indexed property accessor methods can throw which type of exception.  
  124. What is the full form of HQL. 
  125. In which year Spring was developed. 
  126. What is the full form of POJO            . 
  127. In Spring the IOC Container get information form which file. 
  128. What is the name of hibernate configuration file. 
  129. In how many  ways to perform Dependency Injection in Spring framework. 
  130. What is the full form of MVC.

1 comment: