Download GTU BE/B.Tech 2019 Winter 6th Sem New 2160707 Advanced Java Question Paper

Download GTU (Gujarat Technological University) BE/BTech (Bachelor of Engineering / Bachelor of Technology) 2019 Winter 6th Sem New 2160707 Advanced Java Previous Question Paper

1
Seat No.: ________ Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY

BE - SEMESTER ? VI (New) EXAMINATION ? WINTER 2019
Subject Code: 2160707 Date: 06/12/2019

Subject Name: Advanced Java

Time: 02:30 PM TO 05:00 PM Total Marks: 70

Instructions:

1. Attempt all questions.

2. Make suitable assumptions wherever necessary.

3. Figures to the right indicate full marks.


MARKS

Q.1 (a) Write difference between statement and prepared statement interface. 03
(b) Write a sample code to store image in Database. 04
(c) Explain JDBC Transaction Management in detail. 07

Q.2 (a) List types of diver used in JDBC. Explain Thin driver. 03
(b) Write a sample code for client send a ?Hello? message to server. 04
(c) What is ResultSet interface. Write various method for ResultSet interface.
Write a code to update record using this interface.
07
OR
(c) List the JSF validation tag and explain any Two. 07
Q.3 (a) List page directive in JSP? Explain any two with example 03
(b) Draw the JSF request processing life cycle and list various stage. 04
(c) List and Explain various stages of Servlet life cycle. 07
OR
Q.3 (a) Explain use of ServletConfig and ServletContext object with example 03
(b) Write difference between (1) Generic Servlet and Http Servlet (2) doGet and
doPost
04
(c) List and explain various phases of JSP life cycle? 07
Q.4 (a) Explain use of jsp: useBean action tag with example 03
(b) Explain Request and Response object in Servlet. 04
(c) Write a web application which takes id, name, mobile no, semester, marks,
percentage pass to servlet. Servlet forward to model class having method
getid(), getname(), getmobno(), getsem(), getmarks() and getPercentage().
Display all the information in .jsp page
07
OR
Q.4 (a) Write working of session management in servlet. 03
(b) List JSP implicit object? Explain any two with example. 04
(c) Write a student bean class with property student_id, name, semester, address
and percentage. Write jsp page to set and display all property
07
Q.5 (a) What is HQL? Write difference between HQL and SQL? 03
(b) List the JSF facelets tags and explain any two. 04
(c) Explain Spring Bean life cycle phases. 07
OR

Q.5 (a) What is Spring IoC container 03
(b) Explain working of JSF expression language. 04
(c) What is ORM? Explain object/relational mappings in hibernate 07

*************
FirstRanker.com - FirstRanker's Choice

This post was last modified on 20 February 2020