Gujarat Technological UniversityWinter 2024 examination

GTU 2160707 Advanced Java (AJT) Winter 2024 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
List advantage of JSP over Servlet.
(b)
4 marks
What is ORM? Explain object/relational mappings in hibernate.
(c)
7 marks
List different types of JDBC drivers and explain any two of them.

Q.2

14 Marks
(a)
3 marks

Write a java program to find an IP address of the machine on which the current program is executing.

(b)
4 marks
What is Servlet? Explain Servlet Life Cycle.
(c)
7 marks

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

(c)
7 marks

Write a Servlet Program that takes an Enrolment number as an input from HTML page and display result of it from “database”. Assume : Student_Master(s_id,s_name,s_per)

Q.3

14 Marks
(a)
3 marks
Explain DataBaseMetaData with example.
(b)
4 marks
List the JSTL core tags and explain any two with example.
(c)
7 marks

What is “PreparedStatement”? Show that how to use it to call a stored procedure running at database layer.

(a)
3 marks
Explain ResultSetMetaData with suitable program.
(b)
4 marks
Explain any two page directive of JSP with suitable example.
(c)
7 marks

Write a JSP page, which uses “PreparedStatement”, to insert a new record in database. Assume : Student_Master(s_id,s_name,s_per)

Q.4

14 Marks
(a)
3 marks
What is Session? Write a code snippet to use session in JSP page.
(b)
4 marks
List and mention use of different implicit objects of JSP.
(c)
7 marks

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

(a)
3 marks
Differentiate between GenericServlet and HttpServlet
(b)
4 marks
Explain JSP life cycle phases.
(c)
7 marks
Draw and explain hibernate architecture.

Q.5

14 Marks
(a)
3 marks
Write a code snippet to create session in JSP.
(b)
4 marks
Define Dependency Injection and Inversion of Control.
(c)
7 marks

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

(a)
3 marks
List the JSF facelets tags and explain any two.
(b)
4 marks
Briefly explain spring bean life cycle.
(c)
7 marks
List the JSF validation tags and explain any two.

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