Gujarat Technological UniversityWinter 2023 Examination

GTU 3160707 Advanced Java Programming (AJT) Winter 2023 Paper Solution & PDF

B.E. · Computer Engineering · Semester 6 · Subject Code: 3160707
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)
Explain the usage of Socket class with example.
3 Marks
(b)
Differentiate Statement and PreparedStatement.
4 Marks
(c)
Explain JSP Action tags with example.
7 Marks

Question 2

14 MarksMedium
(a)
What is HTTP? Explain any two HTTP request methods in detail.
3 Marks
(b)
Explain scripting elements of JSP.
4 Marks
(c)
Write a program in which client sends string from its standard input to the server.

The server reads the string, finds number of words, characters and digits of received string and sends result back to client. Use connection-oriented communication.

7 Marks
OR OPTION
(c)

Write a JDBC Program for Employee Management application in which Consider Employee table with attributes Emp_ID, EmpName, Phone and Address, and perform followings:

i)Insert multiple records using prepared statement.
ii)Display all the records in reverse order.
7 Marks

Question 3

14 MarksMedium
(a)
Discuss the use of CallableStatement.
3 Marks
(b)
Differentiate attributes and parameters of servlet.
4 Marks
(c)
Write a servlet code for login application using database connectivity.
7 Marks
OR OPTION
(a)
Explain the lifecycle of filter.
3 Marks
(b)
Compare JSP with Servlet.
4 Marks
(c)

What is Session Management in servlet? Write a servlet application that demonstrates the use of cookie.

7 Marks

Question 4

14 MarksMedium
(a)
What is difference between JSTL tag and action tag?
3 Marks
(b)
Explain any four JSTL function tags with example.
4 Marks
(c)
Explain the JSF request processing life cycle.
7 Marks
OR OPTION
(a)
What is faces-config.xml? Explain it with code.
3 Marks
(b)
List the JSF standard validator tags and explain any three in detail.
4 Marks
(c)

Write a JSP application for student registration application using database connectivity. of

7 Marks

Question 5

14 MarksMedium
(a)

List the Hibernate annotations and explain any two Hibernate annotations in detail.

3 Marks
(b)
What is ORM? Explain object/relational mappings in hibernate.
4 Marks
(c)
Explain the architecture of Spring web MVC.
7 Marks
OR OPTION
(a)
Compare Hibernate and JDBC.
3 Marks
(b)
Explain Spring bean life cycle.
4 Marks
(c)
Explain Hibernate Architecture.
7 Marks
College Exam Groups

Studying for Advanced Java Programming?

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 Programming (AJT) (Winter 2023, 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