Gujarat Technological UniversitySummer 2025 examination

GTU 3160707 Advanced Java Programming (AJT) Summer 2025 Question Paper & PDF

B.E. · Computer Engineering · Semester 6 · Subject code 3160707
Download official PDFView PDF here
Share with your class
Total
70 marks
To pass
23 marks (33%)
Duration
2.5 Hours 10:30 AM – 1:00 PM
Questions
5 with internal choice
No solutions on this paper yetNeed them for your exam? Ask once. Papers that students ask for are solved first, and we aim to add them within 24 hours.

19 of 25 questions on this paper were also asked in other years. Each is marked below with the years it appeared.See all 43 repeated 3160707 questions, most asked first

Q.1

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

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).

Q.2

14 Marks
(a)
3 marksAsked in 3 of 7 papers
Compare JSP and Servlet.

Also asked in Summer 2024 Q3a OR, Winter 2023 Q3b OR

(b)
4 marksAsked in 6 of 7 papers
Explain various Session tracking mechanisms in servlet with example.

Also asked in Summer 2026 Q2c, Winter 2025 Q3a, Winter 2024 Q2c OR, Summer 2024 Q4c, Summer 2023 Q1c

(c)
7 marksAsked in 4 of 7 papers

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

Also asked in Winter 2025 Q1c, Winter 2024 Q1c, Summer 2024 Q2b

(c)
7 marksAsked in 2 of 7 papers

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

Also asked in Summer 2024 Q4b

Q.3

14 Marks
(a)
3 marksAsked in 3 of 7 papers
What is Servlet? List and explain various stages of Servlet life cycle.

Also asked in Winter 2025 Q3b, Summer 2024 Q3b OR

(b)
4 marksAsked in 3 of 7 papers
List JSP implicit objects and explain any two in detail.

Also asked in Summer 2026 Q4a OR, Winter 2024 Q4c OR

(c)
7 marksAsked in 2 of 7 papers
Explain JSP page directives with example.

Also asked in Summer 2026 Q4b OR

(a)
3 marks
Explain the usage of InetAddress class.
(b)
4 marksAsked in 4 of 7 papers
Explain JSP life cycle phases.

Also asked in Summer 2026 Q1b, Winter 2025 Q3b OR, Summer 2024 Q3b

(c)
7 marksAsked in 4 of 7 papers
List and Explain JSP Action Tags with example.

Also asked in Summer 2026 Q3b, Winter 2025 Q4c, Winter 2023 Q1c

Q.4

14 Marks
(a)
3 marksAsked in 2 of 7 papers
What is the JSF facelets? Explain any two facelets tags.

Also asked in Summer 2024 Q5b

(b)
4 marks
Briefly explain JSF Converter tags?
(c)
7 marksAsked in 2 of 7 papers
What is Hibernate? List Advantages of Hibernate over JDBC

Also asked in Winter 2023 Q5a OR

(a)
3 marks
Write a servlet that redirect requests alternatively to JSP pages named odd and even
(b)
4 marksAsked in 3 of 7 papers
What is HQL? Write difference between HQL and SQL.

Also asked in Summer 2026 Q5a OR, Summer 2024 Q4b OR

(c)
7 marksAsked in 2 of 7 papers
What is JSF tag library? Explain any four-html tag.

Also asked in Winter 2025 Q5b

Q.5

14 Marks
(a)
3 marksAsked in 5 of 7 papers

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

Also asked in Summer 2026 Q3c OR, Winter 2024 Q4a OR, Summer 2024 Q1c, Summer 2023 Q2c

(b)
4 marksAsked in 2 of 7 papers
Briefly explain spring bean life cycle.

Also asked in Winter 2023 Q5b OR

(c)
7 marksAsked in 3 of 7 papers
What is MVC architecture? Explain Spring architecture with neat sketch.

Also asked in Summer 2026 Q5c OR, Summer 2023 Q5c OR

(a)
3 marksAsked in 3 of 7 papers
What is difference between statement and prepared statement interface.

Also asked in Summer 2024 Q1b, Winter 2023 Q1b

(b)
4 marksAsked in 6 of 7 papers
Draw and explain the architecture of Hibernate.

Also asked in Summer 2026 Q2c OR, Winter 2025 Q5c, Summer 2024 Q5c OR, Winter 2023 Q5c OR, Summer 2023 Q5c

(c)
7 marksAsked in 5 of 7 papers
What is ORM? Explain object/relational mappings in hibernate.

Also asked in Summer 2026 Q5b OR, Summer 2024 Q5a, Winter 2023 Q5b, Summer 2023 Q5b OR

More Advanced Java Programming papers

Questions repeat across sessions. Working through two or three papers shows you which topics GTU asks most.

Preparing with friends?

Send this paper to your class group. Every question has its own link.

About this paper

Official Gujarat Technological University (GTU) examination paper 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.

ViewDownload PDF