Gujarat Technological UniversityWinter 2025 examination

GTU 2160707 Advanced Java (AJT) Winter 2025 Question Paper & PDF

B.E. · Computer Engineering · Semester 6 · Subject code 2160707
Download official PDFView PDF here
Share with your class
Total
70 marks
To pass
23 marks (33%)
Duration
2.5 Hours 2:30 PM – 5: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.

Q.1

14 Marks
(a)
3 marks
Draw and explain MVC architecture
(b)
4 marks
Write difference between statement and prepared statement interface.
(c)
7 marks
Describe JDBC components and architecture.

Q.2

14 Marks
(a)
3 marks
Write difference between doGet and doPost
(b)
4 marks

Write a java program to find an IP address of the machine on which the program runs.

(c)
7 marks

Write a client-server application using TCP Sockets where client can send messages and server respond with the reverse of them.

(c)
7 marks

Write a client-server program using UDP socket. Client sends list of N numbers to server and server responds to the sum of N numbers.

Q.3

14 Marks
(a)
3 marks
Explain Spring Bean life cycle phases
(b)
4 marks
Explain UseBean action tag in JSP with appropriate code.
(c)
7 marks

Write a TCP Client-Server program to get the Date & Time details from Server on the Client request.

(a)
3 marks
What is Dependency Injection?
(b)
4 marks
Discuss URL and URL Connection class with java code snippets
(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.4

14 Marks
(a)
3 marks
Differentiate between GenericServlet and HttpServlet.
(b)
4 marks
What is ORM? Explain object/relational mappings in hibernate
(c)
7 marks
List and explain various phases of JSP life cycle?
(a)
3 marks
What is Filter? List the applications of filter
(b)
4 marks
Explain ResultSetMetaData with suitable program
(c)
7 marks

What is MVC architecture? Explain Spring architecture with a neat sketch.

Q.5

14 Marks
(a)
3 marks
List advantages of JSP over Servlet
(b)
4 marks
List the JSF facelets tags and explain any two.
(c)
7 marks
What is Servlet? Explain Servlet Life Cycle .
(a)
3 marks
Explain DataBaseMetaData with example
(b)
4 marks
List JSP implicit object? Explain any two with example.
(c)
7 marks

Write a Servlet that takes two numbers as an input and display all the prime numbers between them. Also write web.xml description for the servlet.

More Advanced Java 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 (AJT) (Winter 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