Gujarat Technological UniversityWinter 2024 Examination

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

Question 2

14 MarksMedium
(a)

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

3 Marks
(b)
What is Servlet? Explain Servlet Life Cycle.
4 Marks
(c)

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

7 Marks
OR OPTION
(c)

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)

7 Marks

Question 3

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

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

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

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

7 Marks

Question 4

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

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

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

Question 5

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

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

7 Marks
OR OPTION
(a)
List the JSF facelets tags and explain any two.
3 Marks
(b)
Briefly explain spring bean life cycle.
4 Marks
(c)
List the JSF validation tags and explain any two.
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 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.

Download PDF