Subject Name: Advanced Java
Time: 02:30 PM TO 05:00 PM
--- Content provided by FirstRanker.com ---
Instructions:
- Attempt all questions.
- Make suitable assumptions wherever necessary.
- Figures to the right indicate full marks.
-
Q.1
--- Content provided by FirstRanker.com ---
- What is the difference between include directive and jsp:include action tag? (03)
- Draw and explain hibernate architecture. (04)
- List different types of JDBC drivers and explain any two of them. (07)
-
Q.2
--- Content provided by FirstRanker.com ---
- Write a java program to find an IP address of the machine on which the program runs. (03)
- Explain the difference between ServletConfig and ServletContext object. (04)
- Write a client-server application using TCP Sockets where the client can send a message and the server responds with the reverse of them. (07)
OR
Write a Servlet that takes two numbers as an input and displays all the prime numbers between them. Also, write a web.xml description for the servlet.
--- Content provided by FirstRanker.com ---
-
Q.3
- Explain ResultSetMetaData with a suitable program. (03)
- List the JSTL core tags and explain any two with an example. (04)
- What is CallableStatement? Show how to use it to call a stored procedure running at the database layer. (07)
--- Content provided by FirstRanker.com ---
OR
Explain DataBaseMetaData with an example.
-
Q.4
- Explain any two page directives in JSP with an example. (03)
- Explain the use of the PreparedStatement object of the JDBC with an appropriate example. (04)
- List advantages of JSP over Servlet. (07)
--- Content provided by FirstRanker.com ---
-
Q.5
- What is a Servlet? Explain Servlet Life Cycle. (03)
- What is MVC architecture? Explain Spring architecture with a neat sketch. (04)
-
OR
Differentiate between GenericServlet and HttpServlet. (07)
--- Content provided by FirstRanker.com ---
-
Q.S
- Explain JSP life cycle phases. (03)
- What is ORM? Explain object/relational mappings in hibernate. (04)
- What is Filter? List the applications of filter. (07)
-
Q.S
- What is Dependency Injection? (03)
- Draw the JSF request processing life cycle and briefly give the function of each phase. (04)
-
OR
List the JSF facelets tags and explain any two. (07)
--- Content provided by FirstRanker.com ---
-
Q4
- Briefly explain the spring bean life cycle. (03)
- List the JSF validation tags and explain any two. (04)
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER-VI (NEW) EXAMINATION - WINTER 2018
Subject Code: 2160707 Date: 20/11/2018
--- Content provided by FirstRanker.com ---
Total Marks: 70
This download link is referred from the post: GTU BE/B.Tech 2018 Winter Question Papers || Gujarat Technological University
--- Content provided by FirstRanker.com ---