Gujarat Technological UniversitySummer 2024 examination

GTU 3160707 Advanced Java Programming (AJT) Summer 2024 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.

20 of 25 questions on this paper were also asked in other years. 3 more are types of question GTU sets again with new data. Each is marked below with the years it appeared.See all 43 repeated 3160707 questions, most asked first

Q.1

14 Marks
(a)
3 marksAsked in 3 of 7 papers
Explain URL and URLConnection class with example.

Also asked in Summer 2026 Q1a, Winter 2025 Q2a

(b)
4 marksAsked in 3 of 7 papers
Explain Statement and PreparedStatement with example.

Also asked in Summer 2025 Q5a OR, Winter 2023 Q1b

(c)
7 marksAsked in 5 of 7 papers

What is Request Dispatcher? What is the difference between Request dispatcher’s forward() and include() method? Explain it in detail with program.

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

Q.2

14 Marks
(a)
3 marks
What is Deployment descriptor (web.xml) in servlet? Explain with code.
(b)
4 marksAsked in 4 of 7 papers
What is JDBC? Explain the types of JDBC drivers.

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

(c)
7 marksSame type asked in 5 of 7 papers

Write a client-server program using TCP/UDP sockets to echo the message send by the client.

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

(c)
7 marksSame type asked in 5 of 7 papers

Write a TCP program in which client sends string from its standard input to the server. The server reads the string, converts the string into upper case and sends back to client

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

Q.3

14 Marks
(a)
3 marksAsked in 5 of 7 papers
Explain difference between ServletConfig and ServletContext object

Also asked in Summer 2026 Q2a, Winter 2025 Q3c, Winter 2024 Q2b, Summer 2023 Q2b

(b)
4 marksAsked in 4 of 7 papers
Explain JSP life cycle phases.

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

(c)
7 marksAsked in 5 of 7 papers

What is CallableStatement? Explain how to use it to call a stored procedure with proper example.

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

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

Also asked in Summer 2025 Q2a, Winter 2023 Q3b OR

(b)
4 marksAsked in 3 of 7 papers
Explain Servlet Life Cycle with example and demonstrate every state in detail.

Also asked in Winter 2025 Q3b, Summer 2025 Q3a

(c)
7 marksSame type asked in 2 of 7 papers

Write a Login servlet. Take input username and password from html file login.html and authenticate the user. Write the web.xml.

Also asked in Winter 2023 Q3c

Q.4

14 Marks
(a)
3 marks
Explain any three JSTL Core tags.
(b)
4 marksAsked in 2 of 7 papers
What is Filter? Explain Filter API.

Also asked in Summer 2025 Q2c OR

(c)
7 marksAsked in 6 of 7 papers
What is session? List and explain different ways to manage the session.

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

(a)
3 marksAsked in 2 of 7 papers
What is difference between include directive and jsp:include action tag?

Also asked in Summer 2026 Q3a

(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 2025 Q4b OR

(c)
7 marksAsked in 4 of 7 papers

Draw the JSF request processing life cycle and briefly give the function of each phase.

Also asked in Summer 2026 Q4c OR, Winter 2023 Q4c, Summer 2023 Q4c

Q.5

14 Marks
(a)
3 marksAsked in 5 of 7 papers
What is ORM? Explain object/relational mappings in hibernate.

Also asked in Summer 2026 Q5b OR, Summer 2025 Q5c OR, Winter 2023 Q5b, Summer 2023 Q5b OR

(b)
4 marksAsked in 2 of 7 papers
What is the JSF facelets? Explain any two facelets tags.

Also asked in Summer 2025 Q4a

(c)
7 marksAsked in 3 of 7 papers
Explain architecture of Spring MVC Framework.

Also asked in Winter 2024 Q5c OR, Winter 2023 Q5c

(a)
3 marksAsked in 2 of 7 papers
What is Dependency Injection?

Also asked in Winter 2024 Q5b

(b)
4 marksAsked in 4 of 7 papers
List the JSF validation tags and explain any two.

Also asked in Summer 2026 Q4b, Winter 2024 Q4b, Winter 2023 Q4b OR

(c)
7 marksAsked in 6 of 7 papers
Explain Hibernate architecture in detail.

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

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

ViewDownload PDF