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

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

www.FirstRanker.com
1
Seat No.: ________ Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY

BE - SEMESTER ?VI (NEW) EXAMINATION ? WINTER 2018
Subject Code:2160707 Date:20/11/2018

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) What is difference between include directive and jsp:include action tag? 03
(b) Draw and explain hibernate architecture. 04
(c) List different types of JDBC drivers and explain any two of them. 07

Q.2 (a) Write a java program to find an IP address of the machine on which the
program runs.
03
(b) Explain difference between ServletConfig and ServletContext object. 04
(c) Write a client-server application using TCP Sockets where client can
send message and server respond with the reverse of them.
07
OR
(c) Write a Servlet that takes two numbers as an input and display all the
prime numbers between them. Also write web.xml description for the
servlet.
07
Q.3 (a) Explain ResultSetMetaData with suitable program. 03
(b) List the JSTL core tags and explain any two with example. 04
(c) What is CallableStatement? Show that how to use it to call a stored
procedure running at database layer.
07
OR
Q.3 (a) Explain DataBaseMetaData with example. 03
(b) Explain any two page directive in JSP with example. 04
(c) Explain the use of the PreparedStatement object of the JDBC with an
appropriate example
07

Q.4 (a) List advantages of JSP over Servlet 03
(b) What is Servlet? Explain Servlet Life Cycle . 04
(c) What is MVC architecture? Explain Spring architecture with neat
sketch.
07
OR
Q.4 (a) Differentiate between GenericServlet and HttpServlet 03
(b) Explain JSP life cycle phases. 04
(c) What is ORM? Explain object/relational mappings in hibernate.

07
Q.5 (a) What is Filter? List the applications of filter. 03
(b) What is Dependency Injection? 04
(c) Draw the JSF request processing life cycle and briefly give the function
of each phase.
07
OR

Q.5 (a) List the JSF facelets tags and explain any two. 03
(b) Briefly explain spring bean life cycle. 04
(c) List the JSF validation tags and explain any two. 07
*************
www.FirstRanker.com www.FirstRanker.com
www.FirstRanker.com
FirstRanker.com - FirstRanker's Choice

This post was last modified on 20 February 2020