Gujarat Technological UniversityWinter 2025 Examination

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

B.E. · Computer Engineering · Semester 6 · Subject Code: 2160707
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)
Draw and explain MVC architecture
3 Marks
(b)
Write difference between statement and prepared statement interface.
4 Marks
(c)
Describe JDBC components and architecture.
7 Marks

Question 2

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

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

4 Marks
(c)

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

7 Marks
OR OPTION
(c)

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.

7 Marks

Question 3

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

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

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

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

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

7 Marks

Question 5

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

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.

7 Marks
College Exam Groups

Studying for Advanced Java?

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

Download PDF