Gujarat Technological UniversityWinter 2024 Examination

GTU 3160707 Advanced Java Programming (AJT) Winter 2024 Paper Solution & PDF

B.E. · Computer Engineering · Semester 6 · Subject Code: 3160707
Download Official GTU PDF
Share:
Total Marks70 MarksExternal theory exam
Passing Marks23 Marks33% minimum cutoff
Exam Duration2.5 Hours2:30 PM – 5:00 PM
Paper Structure5 QuestionsWith internal OR choices
Jump toQ1Q2Q3Q4Q5

Question 1

14 MarksMedium
(a)
1)What is the purpose of the URL class in Java?
2)List out the important methods of HttpServletResponse.
3)What are the JSP action tags?
3 Marks
(b)
1)What are the advantages of Hibernate over JDBC?
2)What are the three types of text field’s tags provided by JSF?
4 Marks
(c)
What is JDBC driver? Explain its role and compare various JDBC drivers.
7 Marks

Question 2

14 MarksMedium
(a)

What are the differences between a TCP socket and UDP socket? How are they created in Java?

3 Marks
(b)
Demonstrate the use of ServletConfig and ServletContext.
4 Marks
(c)

How do you handle multiple clients concurrently in socket programming? Explain with example.

7 Marks
OR OPTION
(c)
What is Session? Compare different session management techniques.
7 Marks

Question 3

14 MarksMedium
(a)
What is the use of PreparedStatement? How will you use it?
3 Marks
(b)
What is filter? How will you configure filter using deployment descriptor?
4 Marks
(c)
What is Java Bean? Demonstrate the use of JSP bean in web application.
7 Marks
OR OPTION
(a)
What is the use of CallableStatement? How will you use it?
3 Marks
(b)
What is FilterConfig? How will you use it?
4 Marks
(c)
What is JSTL? Explain the core tags of the SQL tag library.
7 Marks

Question 4

14 MarksMedium
(a)
What are the benefits of using JSF Framework?
3 Marks
(b)
How will you use validator tags in JSF?
4 Marks
(c)

What are the cookies? Demonstrate the use of cookies in servlet for session management.

7 Marks
OR OPTION
(a)
Explain the use of RequestDispatcher in servlet.
3 Marks
(b)
Write a code snippet to show the use of JSF action event.
4 Marks
(c)
Explain JSP inbuilt objects with their use in application.
7 Marks

Question 5

14 MarksMedium
(a)
What is the advantage of using Spring Framework?
3 Marks
(b)

What do you understand by Dependency Injection? How do we implement it using Spring Framework?

4 Marks
(c)
What are the different Hibernate interfaces? Explain their role in brief.
7 Marks
OR OPTION
(a)
What is Hibernate SessionFactory and how to configure it?
3 Marks
(b)
Show the use of some important annotations for Hibernate mapping.
4 Marks
(c)
Explain the flow of Spring Web MVC.
7 Marks
College Exam Groups

Studying for Advanced Java Programming?

Circulate this solved paper with KaTeX formulas and 1-click AI step solvers to your batchmates on WhatsApp or Telegram.

About this Examination Paper & Attribution

Official Gujarat Technological University (GTU) examination paper and step-by-step solutions for Advanced Java Programming (AJT) (Winter 2024, B.E. · Computer Engineering, Sem 6). Features complete 70-mark regular & remedial examination pattern, official marking distribution across all 5 questions, and direct 1-click official PDF download.

Transcribed for student exam preparation from Gujarat Technological University official examination archives. Questions, syllabus guidelines, and curriculum marking schemes remain the intellectual property of Gujarat Technological University.

Download PDF