Unit 1: Java Networking
Unit 1: Java Networking
Write a TCP Client-Server program to get the Date & Time details from Server?
Write a client server program using TCP where client sends two numbers and server responds
with sum of them.
Write a UDP Client-Server program in which the Client sends any string and Server responds
with Reverse string.
Unit 2: JDBC Programming
What is JDBC? What are the various types of JDBC Driver? Write code snippet for each type
of JDBC connection.
Explain JDBC Architecture and JDBC driver types. Write a Java Bean to connect to database
and insert in the database. Query will be passed as a message to bean.
Unit 3: Servlet API and Overview
Discuss Servlet life cycle methods. Explain role of web container. List out different types of
Explain JSP Object scope: (i) Page (ii) Request (iii) Session (iv) Application with example.
What is HQL? How does it differ from SQL? Give its advantages.