0% found this document useful (0 votes)
11 views1 page

Reviced Question Bank

The document outlines various programming tasks and concepts related to Java, including comparisons between servlets and CGI, the use of cookies, JDBC for database operations, and Swing components for GUI applications. It includes requests for specific Java programs to handle database interactions, event handling, and user interface design. Additionally, it covers key concepts such as JSP, MVC architecture, and servlet lifecycle.

Uploaded by

xdnik76
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)
11 views1 page

Reviced Question Bank

The document outlines various programming tasks and concepts related to Java, including comparisons between servlets and CGI, the use of cookies, JDBC for database operations, and Swing components for GUI applications. It includes requests for specific Java programs to handle database interactions, event handling, and user interface design. Additionally, it covers key concepts such as JSP, MVC architecture, and servlet lifecycle.

Uploaded by

xdnik76
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/ 1

1.​ Compare servlets and CGI. In terms of servlet, explain the concept of cookies.

2.​ Demonstrate a JAVA Program to insert data into Student DATABASE and retrieve
info based on queries (create, update, delete, search).
3.​ Create a Java application to retrieve employee records using JDBC.
4.​ Compare servlets and CGI. In term of servlet explain the concept of cookies
5.​ Demonstrate a JAVA Program to insert data into Student DATA BASE and retrieve
info based on queries (For example create, update, delete, search)
6.​ Define Swings. Explain key Swing components: JFrame, JPanel, JButton.
7.​ Demonstrate a swing event handling application that creates 2 buttons Alpha and Beta
and displays the text “Alpha pressed” when alpha button is clicked and “Beta
pressed” when beta button is clicked.
8.​ Explain in brief the concept of JSP scriptlets, expressions, and declarations with an
example.
9.​ Explain the various classes and interfaces present in Servlet API.
10.​A program to design the Login page and validate the USER_ID and PASSWORD
using JSP and Database.
11.​Develop a registration form using Swing.
12.​Develop a basic calculator using Swing components.
13.​Explain the concept of Cookies with programming example.
14.​Develop a servlet program to display the name, USN, and total marks by accepting
student detail.
15.​Explain different types of JDBC drivers.
16.​Describe the steps for database connectivity using JDBC with programming example.
17.​Demonstrate the concept of Statement, PreparedStatement, and CallableStatement.
18.​Develop an event-handling example using Button and TextField.
19.​Describe the Model-View-Controller (MVC) architecture in Swing.
20.​What is a servlet? Explain its lifecycle.

You might also like