Gujarat Technological UniversitySummer 2025 Examination

GTU 3160707 Advanced Java Programming (AJT) Summer 2025 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 Hours10:30 AM – 1:00 PM
Paper Structure5 QuestionsWith internal OR choices
Jump toQ1Q2Q3Q4Q5

Question 1

14 MarksMedium
(a)
Discuss the use of execute (), executeUpdate () and executeQuery () methods.
3 Marks
(b)
Explain the following classes with their use.
i)URLConnection class
ii)DatagramSocket class
iii)DatagramPacket class
iv)ServerSocket class
4 Marks
(c)

Design a form to input details of an employee and submit the data to a servlet. Write code for servlet that will save the entered details as a new record in database table Employee with fields (EmpId, EName, Email, Age).

7 Marks

Question 2

14 MarksMedium
(a)
Compare JSP and Servlet.
3 Marks
(b)
Explain various Session tracking mechanisms in servlet with example.
4 Marks
(c)

What is JDBC? List the different types of JDBC drivers. Compare the various driver types for their advantages and disadvantages.

7 Marks
OR OPTION
(c)

What is filter? What is its use? List different filter interfaces with their important methods.

7 Marks

Question 3

14 MarksMedium
(a)
What is Servlet? List and explain various stages of Servlet life cycle.
3 Marks
(b)
List JSP implicit objects and explain any two in detail.
4 Marks
(c)
Explain JSP page directives with example.
7 Marks
OR OPTION
(a)
Explain the usage of InetAddress class.
3 Marks
(b)
Explain JSP life cycle phases.
4 Marks
(c)
List and Explain JSP Action Tags with example.
7 Marks

Question 4

14 MarksMedium
(a)
What is the JSF facelets? Explain any two facelets tags.
3 Marks
(b)
Briefly explain JSF Converter tags?
4 Marks
(c)
What is Hibernate? List Advantages of Hibernate over JDBC
7 Marks
OR OPTION
(a)
Write a servlet that redirect requests alternatively to JSP pages named odd and even
3 Marks
(b)
What is HQL? Write difference between HQL and SQL.
4 Marks
(c)
What is JSF tag library? Explain any four-html tag.
7 Marks

Question 5

14 MarksMedium
(a)

What is Request Dispatcher? What is the difference between Request dispatcher’s forward () and include () method?

3 Marks
(b)
Briefly explain spring bean life cycle.
4 Marks
(c)
What is MVC architecture? Explain Spring architecture with neat sketch.
7 Marks
OR OPTION
(a)
What is difference between statement and prepared statement interface.
3 Marks
(b)
Draw and explain the architecture of Hibernate.
4 Marks
(c)
What is ORM? Explain object/relational mappings in hibernate.
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) (Summer 2025, 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