Advanced Java (October – 2012) [IDOL - Revised Course | Question Paper]


Advanced Java (Revised Syllabus) [October – 2012 | Question Paper]
Advanced Java (Revised Syllabus) [October – 2012 | Question Paper]

➥ View @SlideShare(PDF)@Pinterest | @Flickr
➥ Download

Time: 3 Hours
Total Marks: 100


N.B.:    (1) All Question are Compulsory.
            (2) Make Suitable Assumptions Wherever Necessary And State The Assumptions Made.
            (3) Answer To The Same Question Must Be Written Together.
            (4) Number To The Right Indicates Marks.
            (5) Draw Neat Labeled Diagrams Wherever Necessary.

Q.1 Attempt Any Two Of The Following: (10 Marks)
(A) Write a java program using Split pane to demonstrate that a screen divided in two parts. One part contains the examination seat number of student. When user selects the exam seat number, mark sheet of the student should get displayed in another pane.
(B) Explain the Servlet Lifecycle with suitable diagram.
(C) Write the advantages of JSP over Servlet.
(D) Explain the use of Progress Bar Control with suitable example.

Q.2 Attempt Any Three Of The Following: (15 Marks)
(A) Explain ActionEvent with an example.
(B) Explain with suitable example how siblings and child nodes are added in a tree.
(C) Explain with suitable example the need of table model.
(D) List and explain the layout orientations used for JList. Give suitable example.
(E) What is the purpose of Tabbed Panes? Explain with suitable example.
(F) Explain Custom Formatters with suitable example.

Q.3 Attempt Any Three Of The Following: (15 Marks)
(A) What is CGI? What are the disadvantages of CGI?
(B) Explain with suitable diagram request/response paradigm of servlet.
(C) Explain the following methods of servlet interface:
     (a) init
     (b) destroy
     (c) service
     (d) getserviceConfig
     (e) getServletInfo
(D) What is the purpose of HttpServletRequest interface of servlet API? Explain with suitable example.
(E) Write a simple servlet program that will display the factorial of a given number.
(F) Write a servlet program that will read a string from user. If the string is ‘Examination’ then greet the user otherwise display error message.

Q.4 Attempt Any Three Of The Following: (15 Marks)
(A) Explain the Scrollable Result Sets with suitable example.
(B) What are the two ways of writing Scriptlets? Explain with suitable example.
(C) Explain the Prepared Statement with suitable example.
(D) Explain with example addition of Java Bean to a JSP page.
(E) Write a JSP based application that serves the purpose of simple calculator.
(F) Write a JSP code that will store the information of an employee into the database. Also it should display the information of employee.

Q.5 Attempt Any Three Of The Following: (15 Marks)
(A) Explain the following phases of the JSF life cycle:
     (a) Restore View
     (b) Apply Request View
(B) Explain with suitable example <navigation-rule> element of faces-config.xml file of JSF.
(C) What is Facelet? Write the features of Facelet.
(D) List and explain different types of Enterprise Bean.
(E) Write the benefits of using EJB.
(F) Create a JSF Application for checking the validity of a user.

Q.6 Attempt Any Three Of The Following: (15 Marks)
(A) Explain the working of Hibernate.
(B) Write the sample Hibernate Configuration File. Explain the elements of the file.
(C) What is the importance of Hibernate Mapping File? Explain with suitable example.
(D) Explain Filter Dispatcher and any two Actions components used by Struts.
(E) Explain in brief MVC Architecture with help of suitable diagram.
(F) Write a short on Interceptors in Struts.

Q.7 Attempt Any Three Of The Following: (15 Marks)
(A) What is JNDI? Explain.
(B) List and explain the major components of JavaMail.
(C) What is the purpose of SOAP? How a SOAP Transaction is carried out?
(D) Explain the Session and Message Classes of JavaMail API.
(E) Explain the Naming Service with suitable diagram.
(F) Explain different type of Mail Protocols.


0 Comments