Gujarat Technological UniversitySummer 2024 Examination

GTU 3160707 Advanced Java Programming (AJT) Summer 2024 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 Hours10:30 AM – 1:00 PM
Paper Structure5 QuestionsWith internal OR choices
Jump toQ1Q2Q3Q4Q5

Question 1

14 MarksMedium
(a)
Explain URL and URLConnection class with example.
3 Marks
(b)
Explain Statement and PreparedStatement with example.
4 Marks
(c)

What is Request Dispatcher? What is the difference between Request dispatcher’s forward() and include() method? Explain it in detail with program.

7 Marks

Question 2

14 MarksMedium
(a)
What is Deployment descriptor (web.xml) in servlet? Explain with code.
3 Marks
(b)
What is JDBC? Explain the types of JDBC drivers.
4 Marks
(c)

Write a client-server program using TCP/UDP sockets to echo the message send by the client.

7 Marks
OR OPTION
(c)

Write a TCP program in which client sends string from its standard input to the server. The server reads the string, converts the string into upper case and sends back to client

7 Marks

Question 3

14 MarksMedium
(a)
Explain difference between ServletConfig and ServletContext object
3 Marks
(b)
Explain JSP life cycle phases.
4 Marks
(c)

What is CallableStatement? Explain how to use it to call a stored procedure with proper example.

7 Marks
OR OPTION
(a)
Compare JSP and Servlet.
3 Marks
(b)
Explain Servlet Life Cycle with example and demonstrate every state in detail.
4 Marks
(c)

Write a Login servlet. Take input username and password from html file login.html and authenticate the user. Write the web.xml.

7 Marks

Question 4

14 MarksMedium
(a)
Explain any three JSTL Core tags.
3 Marks
(b)
What is Filter? Explain Filter API.
4 Marks
(c)
What is session? List and explain different ways to manage the session.
7 Marks
OR OPTION
(a)
What is difference between include directive and jsp:include action tag?
3 Marks
(b)
What is HQL? Write difference between HQL and SQL.
4 Marks
(c)

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

7 Marks

Question 5

14 MarksMedium
(a)
What is ORM? Explain object/relational mappings in hibernate.
3 Marks
(b)
What is the JSF facelets? Explain any two facelets tags.
4 Marks
(c)
Explain architecture of Spring MVC Framework.
7 Marks
OR OPTION
(a)
What is Dependency Injection?
3 Marks
(b)
List the JSF validation tags and explain any two.
4 Marks
(c)
Explain Hibernate architecture in detail.
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) (Summer 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