Tybscit Advanced Java Question Bank

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Advanced Java

1. What is GUI? Explain its advantages. 2. What is swing? Explain its features. 3. Explain the difference between AWT & Swing components OR Heavyweight & Lightweight Components 4. Explain the different panes available in swing. 5. Explain in detail the Swing Components and the Containment Hierarchy. 6. Which methods are used in Swing for drawing? 7. Explain Event Handling in Swing in short. 8. Write a simple Swing program to demonstrate Hello World title of GUI window. 9. Differentiate between lightweight and heavyweight components. 10. Explain the following classes: a. JFrame b. JList c. JTable d. JTree e. JTextField f. JTextArea g. JProgressBar h. JTabbedPane i. JScrollPane 11. Explain ActionEvent class with an Example. 12. What is JFrame? Explain its features. 13. How JFrame constructors are used in different ways for creation of frame? 14. Explain creation of JFrame with help of simple program. 15. Write short note on JFrame actions. 16. Explain JFrame Event Handling with help of simple program. 17. Explain various frame borders with help of simple swing program. 18. Explain JInternalFrame with its constructors. 19. How can we create JInternalFrame? Demonstrate with simple example. 20. What is JWindow? Explain its Constructors? Give simple example for creation of JWindow? 21. What is JLabel? Explain its Constructors? Give simple example for creation of JLabel? 22. What is JTextField? Explain its Constructors? Give simple example for creation of JTextField? 23. Explain creation of checkbox and radio buttons in swing with help of simple program. 24. What is Menu Bar? Explain the components used for creation of Menu Bar. Give simple swing Menu Bar example. 25. What is custom data model & custom renderer? 26. Explain in detail the creation of fixed choice JList with its components?

Important Question on Advance Java

T.Y. B.Sc(IT)

27. Explain in detail the creation of changeable choice JList with help of example? 28. Write short note on List and Combo Box in swing. 29. Write a short program to demonstrate use of Combo Box and List in swing. 30. Explain JTable in swing with the steps of creating a Table. 31. How we can achieve sorting and filtering in swing. 32. What are Trees in Swing? Explain Tree nodes and Models. 33. How we can handle tree events in swing? 34. Write a program swing to demonstrate creation of a tree. 35. Explain Test Box in swing. 36. Write a simple swing program to show use of Text Box and Password field. 37. Write a simple swing program to show use of styled text. 38. Explain different types of progress indicators in swing. 39. Write short note creation of progress bar in swing. 40. When to use a Progress Bar & Progress Monitor? 41. List and explain the components of progress monitor API. 42. Write short note on split panes in swing. Explain the constructors & methods of it. 43. How to create Tabbed panes in swing? 44. Write short note on Desktop Pane & Internal frames in swing. 45. Explain the Web architecture with its associate terms. 46. What are the Types & Benefits of a Web Application? 47. Explain the need of Dynamic Website with its application Areas. 48. What is Servlet? Write Short note on Java Servlet Technology. 49. What are the benefits of Servlets? 50. List the characteristics of Servlets. 51. Explain the working of Servlets with help of suitable diagram. 52. List & Explain the types of Servlets. 53. Explain the following methods of ServletRequest interface of servlet API a. getParameter b. getServerName c. setAttribute d. getattributeNames e. getParameterValues 54. Explain the GenericServlet with its constructors and Methods. 55. Write short note on Servlet & ServletConfig by explaining its methods and Constructors. 56. Explain any 5 classes/ Interfaces from Servlet API with their constructors & methods. 57. Write short note on Cookie class. 58. Explain Servlet life cycle with help of suitable diagram. 59. Explain the directory structure of Web Application for executing Servlet Application. 60. What is Deployment Descriptor & Context Path? 61. Write a Servlet Application for Online Inventory Management. 62. Create a Servlet Application for shopping cart.

Important Question on Advance Java

T.Y. B.Sc(IT)

63. Create a Servlet Application to respond more than one user. 64. What is the database? State the reasons behind using the database. 65. Explain the 3 rules for dealing with database. 66. What is JDBC? Explain the architecture of JDBC in detail. 67. Write short note on JDBC Driver. Explain its types & advantages. 68. List and explain the advantages of using JDBC. 69. Write and explain the steps for Java Database Connectivity. 70. What are scrollable Resultset in JDBC? 71. Write short note updatable resultset. 72. Explain RowSet and its type in JDBC. 73. Write short note on JDBC Transactions. 74. How to use save points in JDBC? 75. What is JSP? Explain its advantages and advantages. 76. Differentiate between JSP and Servlet. 77. Explain the phases of JSP life cycle. 78. Explain the coding styles of JSP page. 79. What are directives in JSP? Explain its types. 80. List and explain scripting elements used in JSP page. 81. What are different action elements used in JSP page. 82. List and explain any 5 JSP Implicit Objects with their methods. 83. Write short note on Exception object used in JSP. 84. Write short note on request and response object in JSP. 85. Explain the different scopes of JSP objects. 86. List and explain Character Quoting Conventions. 87. Write short note on Unified Expression Language. 88. Explain Immediate and Deferred Evaluation of Expressions in Unified Expression Language. 89. Write short note on value and Method expression. 90. How we can use Unified Expression Language in JSP explain with code samples. 91. List and explain implicit objects used with Unified Expression Language. 92. How we can use variables, literals & operators using EL in JSP code? Explain it with sample code snippets. 93. Explain how to use function in Unified Expression Language. 94. Create a JSP Application which accepts input as Fahrenheit and converts it in Celsius. 95. Create a JSP Application to demonstrate use of request and response objects. 96. Create a JSP Application to demonstrate use of session and cookies. 97. Create a 4 page JSP Application which carries values from one page to another. 98. Create a JSP Application for server side form validation. 99. What is JSF? Explain the benefits of JavaServer Faces Technology. 100. Write short note on MVC architecture?

Important Question on Advance Java

T.Y. B.Sc(IT)

101. 102. 103. 104. 105. 106. 107. 108. 109. 110. 111. 112. 113.

Explain the features of MVC models. List and explain elements of JSF. Explain in details phases of JSF Life cycle. Explain Facelets. Explain the use and structure of web.xml file. Explain the use and structure of faces-config.xml file. Create a JSF Application to demonstrate use of Action listeners in JSF. Create a JSF Application of Registering a Student for coaching classes. Create a JSF Application of saving feedback of user in MySQL database. What is EJB? Explain the components of Enterprise bean architecture. Explain the benefits of EJB. Write detail note on type of Enterprise beans. Write short note on followings Session beans Message Driven Beans Entity beans 114. Explain the ways of accessing Enterprise beans. 115. Describe the contents of an Enterprise Bean. 116. Explain Packaging of Enterprise Beans. 117. Create an EJB Application to demonstrate use of Stateful Session Bean. 118. Create Simple Bank Account application using an EJB. 119. What is Hibernate? Explain the features of Hibernate. 120. State the reasons behind using the Hibernate. 121. Explain the Hibernate architecture with help of suitable diagram. 122. Explain the structure of hibernate.cfg.xml. 123. Explain the components of Hibernate configurations. 124. Explain the working of Hibernate. 125. What are POJO in hibernate? 126. Create a Hibernate Application to demonstrate fetching records from the database. 127. Create Simple Hibernate application to demonstrate use of Sessions. 128. Create a Hibernate Application to demonstrate Many To Many Annotation Mapping. 129. Explain struts with its versions. 130. Explain in brief MVC architecture with help of suitable diagram. 131. Why we use struts? 132. Explain in detail about core components of Struts framework. 133. What are Actions in struts? State the Execution Flow of Actions in struts. 134. Explain structure and working of struts.xml file. 135. Write a short on Interceptors in struts.

Important Question on Advance Java

T.Y. B.Sc(IT)

136. What is Value Stack in struts? State & explain the Execution Flow of Value Stack. 137. What is OGNL in struts? State & explain the Execution Flow of Value Stack. 138. State the execution flow of struts in detail. 139. Create an Application to handling multiple buttons in HTML Form in Struts. 140. Create Simple Struts File Upload application. 141. Create a Struts Application to demonstrate handling the Exceptions. 142. Create Simple Struts Application to demonstrate use of Interceptors. 143. What are web services? 144. Write short note on SOAP. 145. Explain how to create Web Services with JAX-WS. 146. Create a simple Web Service and client using JAX-WS providing Loan Calculator. 147. What is Email? Explain the anatomy of Email message. 148. Explain different type of Mail Protocols. 149. Explain in detail components of JAVA Mail API. 150. Write short note on following. Session in JAVA Mail Authenticator Classes used in JAVA Mail 151. What are Naming & Directory Services? 152. What is JNDI? What is JNDI lookup? 153. How we can use JNDI Naming with the recourse. 154. Write short note on Resource Injection and its types. 155. How we can achieve Directory Searching using JNDI. 156. What are the two types of expressions in unified EL. 157. What is Java Server Faces? 158. Write the features that are new in JavaServer Faces 2.0.

Important Question on Advance Java

T.Y. B.Sc(IT)

You might also like