FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download GTU B.Tech 2020 Winter 6th Sem 2160707 Advanced Java Question Paper

Download GTU (Gujarat Technological University Ahmedabad) B.Tech/BE (Bachelor of Technology/ Bachelor of Engineering) 2020 Winter 6th Sem 2160707 Advanced Java Previous Question Paper

This post was last modified on 04 March 2021

GTU B.Tech 2020 Winter Question Papers || Gujarat Technological University


FirstRanker.com

Subject Code: 2160707

GUJARAT TECHNOLOGICAL UNIVERSITY

--- Content provided by FirstRanker.com ---

BE- SEMESTER-VI (NEW) EXAMINATION - WINTER 2020

Subject Name: Advanced Java

Time: 02:00 PM TO 04:00 PM

Instructions:

1. Attempt any FOUR questions out of EIGHT questions.

--- Content provided by⁠ FirstRanker.com ---

2. Make suitable assumptions wherever necessary.

3. Figures to the right indicate full marks.

Q.1

  1. (a) What is Hibernate? What is the main advantage of using Hibernate than using SQL? (03 Marks)
  2. (b) Compare Directive Include and Standard Action Include in JSP. (04 Marks)
  3. --- Content provided by⁠ FirstRanker.com ---

  4. (c) Write a client-server program using TCP. The client sends a list of N numbers to the server, and the server responds with the sum of N numbers with appropriate output. (07 Marks)

Q.2

  1. (a) What is a DatabaseMetaData? List out methods and explain any two with appropriate code. (03 Marks)
  2. (b) Explain UseBean action tag in JSP with appropriate code. (04 Marks)
  3. (c) Write a program to insert student records to the database using a callable statement with appropriate output. (07 Marks)
  4. --- Content provided by⁠ FirstRanker.com ---

Q.3

  1. (a) Differentiate between GenericServlet and HttpServlet. (03 Marks)
  2. (b) What is a deployment descriptor file? Explain it with code for managing the different errors or exceptions. (04 Marks)
  3. (c) What is Request Dispatcher? What is the difference between Request dispatcher’s forward() and include() method? Explain it in detail with a program. (07 Marks)

Q.4

--- Content provided by‌ FirstRanker.com ---

  1. (a) What is Filter? List the applications of filter. (03 Marks)
  2. (b) Explain Servlet Life Cycle with example and demonstrate every state in detail. (04 Marks)
  3. (c) What is session? List the different ways to manage the session and explain any one way with appropriate code. (07 Marks)

Q.5

  1. (a) What is the use of the page directive tag? List out all attributes and explain any two in detail. (03 Marks)
  2. --- Content provided by FirstRanker.com ---

  3. (b) List out all Implicit objects in JSP and explain any three in detail. (04 Marks)
  4. (c) What is the use of the directive taglib in JSP? Write down a program for creating your own tag by using taglib in JSP with appropriate output. (07 Marks)

Q.6

  1. (a) What is POJO? Explain Hibernate architecture in detail. (03 Marks)
  2. (b) What is ORM? Explain object/relational mappings in Hibernate. (04 Marks)
  3. --- Content provided by⁠ FirstRanker.com ---

  4. (c) What is a JSTL? List out all libraries and explain any one with appropriate code in detail. (07 Marks)

Date: 22/01/2021

Total Marks: 56

FirstRanker.com

Q.7

--- Content provided by​ FirstRanker.com ---

  1. (a) List the JSF facelets tags and explain any one in detail. (03 Marks)
  2. (b) List the JSF validation tags and explain any three in detail. (04 Marks)
  3. (c) Explain JSF application life cycle phases in detail with a neat sketch. (07 Marks)

Q.8

  1. (a) What is dependency injection? Explain in detail. (03 Marks)
  2. --- Content provided by‌ FirstRanker.com ---

  3. (b) What is MVC architecture? Explain Spring architecture with a neat sketch. (04 Marks)
  4. (c) Explain the architecture of Spring Framework with all its containers in detail. (07 Marks)

FirstRanker.com


--- Content provided by​ FirstRanker.com ---


This download link is referred from the post: GTU B.Tech 2020 Winter Question Papers || Gujarat Technological University