0% found this document useful (0 votes)
33 views

Unit 1: Java Networking

This document outlines topics related to Java networking, JDBC programming, servlets, JSPs, and Hibernate. It includes questions about server sockets, TCP and UDP client-server programs, JDBC drivers and usage, servlet lifecycles and filters, JSP tag libraries and scopes, Hibernate architecture and mapping types, and differences between HQL and SQL. The document appears to be an outline for a course covering these Java technologies.

Uploaded by

Frank Marvin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

Unit 1: Java Networking

This document outlines topics related to Java networking, JDBC programming, servlets, JSPs, and Hibernate. It includes questions about server sockets, TCP and UDP client-server programs, JDBC drivers and usage, servlet lifecycles and filters, JSP tag libraries and scopes, Hibernate architecture and mapping types, and differences between HQL and SQL. The document appears to be an outline for a course covering these Java technologies.

Uploaded by

Frank Marvin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Unit 1: Java Networking

What is Server Socket? Explain in detail with an example.

Write a TCP Client-Server program to get the Date & Time details from Server?

What is Datagram Socket? Explain in detail with example.

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 the use of CallableStatement and PreparedStatement with example.

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

Write a Java Servlet to demonstrate the use of Session Management.

Discuss Servlet life cycle methods. Explain role of web container. List out different types of

servlet event and explain it.

Enlist and explain the need of filters with a program.


Unit 4: Java Server Pages

Explain JSP Tag library with example.

Compare JSP with Servlet.

Explain JSP Object scope: (i) Page (ii) Request (iii) Session (iv) Application with example.

Explain Life cycle of JSP.

List & explain implicit objects in JSP.


Unit 6: Hibernate 4.0

Briefly explain Hibernate Architecture and Hibernate Mapping Types.

What is HQL? How does it differ from SQL? Give its advantages.

You might also like