Department of Computer Engineering: Sr. Unit Question
Department of Computer Engineering: 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>
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
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.
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.
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