0% found this document useful (0 votes)
107 views2 pages

Department of Computer Engineering: Sr. Unit Question

This document contains a question bank for an Advanced Java Programming course offered in the Department of Computer Engineering at an unspecified university. It lists 23 questions divided among 7 units taught in the course. The questions cover topics like TCP/UDP networking, JDBC, servlets, JSP, JSF, Hibernate, Spring, and MVC architecture. It provides the question number, unit number, and question text for each of the 23 questions in the bank.

Uploaded by

Vipul Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views2 pages

Department of Computer Engineering: Sr. Unit Question

This document contains a question bank for an Advanced Java Programming course offered in the Department of Computer Engineering at an unspecified university. It lists 23 questions divided among 7 units taught in the course. The questions cover topics like TCP/UDP networking, JDBC, servlets, JSP, JSF, Hibernate, Spring, and MVC architecture. It provides the question number, unit number, and question text for each of the 23 questions in the bank.

Uploaded by

Vipul Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Department of Computer Engineering

Academic Year 2021-22 | Semester-V


Question Bank
3160707– Advance java Programming Prof. Jayesh D. Vagadiya

Sr. Unit Question

1 1 Write a TCP or UDP client and server program to do the following: client> java client localhost/IP
Port <enter> Enter text: Welcome to Gujarat Technological UNIVERSITY <enter> Response from
server: ytisrevinu LACIGOLONHCEt TARAJUg TO EMOCLEw client>

2 1 Write TCP and UDP program for two way communication.

3 1 Write a client server program using TCP where client sends a string and server checks whether
that string is palindrome or not and responds with appropriate message.

4 2 List the different types of JDBC drivers. Compare the various driver types for their advantages
and disadvantages.

5 2 Write a program to insert student records to database using prepared statement. OR explain the
use of the PreparedStatement object of the JDBC with an appropriate example

6 2 What is CallableStatement? Show that how to use it to call a stored


procedure running at database layer.OR Discuss CallableStatement with example.

7 3 Describe the servlet life cycle with life cycle methods

8 3 Explain use of ServletConfig and ServletContext object with example.

9 3 Write a Java Servlet to print BE Semester 7 Marksheet of entered enrollment number by user
using JDBC.

10 3 What is session? Explain session management using HTTPSession. OR list the different ways to
manage the session.

11 3 What is Request Dispatcher? What is the difference between Request dispatcher’s forward ()
and include () method?

12 3 What is filter? What is its use? List different filter interfaces with their important methods. List
the applications of filter.

13 4 List and explain various phases of JSP life cycle?

14 4 Explain all the Attributes of Page Directive.

15 4 Explain JSP implicit objects with appropriate example.

16 4 Explain JSTL tags library – Core tags, Function tags, Formatting tags, SQL tags

17 5 Draw the JSF request processing life cycle and list various stage.

18 5 List the JSF facelets tags and explain any two.

19 5 List the JSF validation tag and explain any Two.


Department of Computer Engineering
Academic Year 2021-22 | Semester-V
Question Bank
3160707– Advance java Programming Prof. Jayesh D. Vagadiya

20 6 What is ORM? Explain object/relational mappings in hibernate.

21 6 Explain Hibernate Architecture and Object Relation Mapping in Hibernate with java code and
required XML files.

22 7 What is MVC architecture? Explain Spring architecture with neat sketch. OR explain its role in
modern applications with its advantages

23 7 Explain Spring Bean life cycle phases.

You might also like