Advanced Java (May – 2018) [IDOL: Revised Course | Question Paper]


Advanced Java (May – 2018) [IDOL: Revised Course | Question Paper]
Advanced Java (May – 2018) [IDOL: Revised Course | Question Paper]

DOWNLOAD @
☛ PDF | PDF
☛ Text
☛ Torrent
☛ G-Drive
☛ SlideShare

Time: 3 Hours
Total Marks: 100


NOTES:
(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 Labelled Diagrams Wherever Necessary.
(6) Use of Non-Programmable Calculator is allowed.


Q.1 ATTEMPT ANY TWO QUESTIONS: (10 MARKS)
(A) Difference between AWT and Swing.
(B) List the different ways of Session Tracking. Write Syntax for Adding Cookie file in Java.
(C) What are the various methods of Statement Interface in JDBC?
(D) What is Email? Explain the Anatomy of Email message.

Q.2 ATTEMPT ANY THREE QUESTIONS: (15 MARKS)
(A) Explain any three Event Classes with their respective Event Listeners.
(B) Write a program in Swings to accept the username and password from the user and display message in a Message Box "Valid user" if username and password is "admin" else "Invalid user".
(C) Explain Event Delegation Model with an example.
(D) Explain the various Text Components along with its constructors.
(E) Create a JTable as follows:
[TABLE]
(F) Write a java program to demonstrate JTree.

Q.3 ATTEMPT ANY THREE QUESTIONS: (15 MARKS)
(A) Explain HttpServlet with its Constructors and Methods.
(B) Write a Servlet Application to accept a number from the user and display the square and cube of the number.
(C) List and explain any 3 interfaces in javax.servlet Package.
(D) Why servlet is preferred over CGI.
(E) Explain the life Cycle of Servlet.
(F) Write a program to demonstrate Session Tracking using HttpSession Interface.

Q.4 ATTEMPT ANY THREE QUESTIONS: (15 MARKS)
(A) Explain the type 1 Driver used in JDBC.
(B) Explain the Scrollable and Updatable Resultsets in JDBC.
(C) List the four Object Scopes in JSP. Demonstrate any one with example.
(D) Write a JDBC program that inserts values in database using prepared statement through Keyboard Input. [TABLE NAME: Employee. FIELDS: Empid, Name, Dept, Designation]
(E) List and explain various Implicit Objects used in JSP.
(F) Write the syntax of various Tags used in JSP.

Q.5 ATTEMPT ANY THREE QUESTIONS: (15 MARKS)
(A) Write a short note on MVC Architecture.
(B) Explain the advantages of EJB.
(C) Explain in detail the phases of JSF Life Cycle.
(D) Explain the Structure of faces-config.xml File.
(E) Write a Model and Navigation Rules to find the Simple Interest of a given Principal, Interest and terms. (in JSF)
(F) List and explain the various types of Beans.

Q.6 ATTEMPT ANY THREE QUESTIONS: (15 MARKS)
(A) Explain the Structure of hibernate.cfg.xml.
(B) Explain the importance of Mapping and show the creation of Mapping File Inhibernate Framework.
(C) Write a short note on Interceptors in Struts.
(D) Explain Hibernate Architecture.
(E) What is Value Stack in Struts? State and explain the Execution Flow of Value Stack.
(F) Explain in detail the Core Components of Struts Framework.

Q.7 ATTEMPT ANY THREE QUESTIONS: (15 MARKS)
(A) What are Naming and Directory Services?
(B) Explain the different types of Mail Protocols.
(C) Write a short note on following:
      • Session in Java Mail
      • Authenticator
(D) Explain the Components of Web Service.
(E) Write a short note on SOAP.
(F) Write a short note on Java Mail API.

0 Comments