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

Adv - Java Index

The document contains an index listing 16 lab exercises for an Advanced Java course. The exercises cover topics like JDBC, Servlets, JSP, multithreading, and sockets. They involve tasks like displaying database records, form processing, session management, validating user input, multithreaded number generation, and displaying server date/time on a client.

Uploaded by

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

Adv - Java Index

The document contains an index listing 16 lab exercises for an Advanced Java course. The exercises cover topics like JDBC, Servlets, JSP, multithreading, and sockets. They involve tasks like displaying database records, form processing, session management, validating user input, multithreaded number generation, and displaying server date/time on a client.

Uploaded by

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

INDEX

LAB COURSE-Advanced java


Sr.no Program Name Remark Sign
1 Write a JDBC program to displays the details of employees
(eno, ename, department, sal) whose department is
"Computer Science".
2 Write a java program to create Teacher table(TNo.TName, Sal,
Desg) and insert a record in it.
3 Write a JDBC program to accept the details of customer (CID,
CName, Address, Ph No) and store it into the database (Use
PreparedStatement interface)
4 Write a JDBC program in java to display details of
Book_Sales(SalesID, Data, Amount) of selected month in
JTable. Book Sales table is already created.
(Use Combobox component for Month selection)
5 Write a SERVLET program which counts how many times a user
has visited a web page. If user is visiting the page for the first
time, display a welcome message. If the user is revisiting the
page, display the number of times visited. (Use Cookie)
6 Write a SERVLET program to change inactive time interval of
session.
7 Write a SERVLET application to accept username and password,
search them into database,if found then display appropriate
message on the browser otherwise display error message.
8 Write a SERVLET program to Design an HTML page containing 4
option buttons (Painting,Drawing, Singing and swimming) and 2
buttons reset and submit. When the user clicks submit,the
server responds by adding cookie containing the selected
hobby and sends the HTML page tothe client. Program should
not allow duplicate cookies to be written.
9 Write a JSP program to calculate sum of first and last digit of a
given number. Display sum in Red Color with font size 18.
10 Write a JSP program which accept UserName in a TextBox and
greets the user according to the time on server machine.
11 Write a JSP script to check whether given mail ID is valid or not.
(Mail ID should contain one @ symbol and atleast one Dot(.)
symbol)
12 Write a JSP program to display the details of Hospital (No,
Name, Address) in tabular form on browser.
13 Write a Multithreading program in java to display the numbers
between 1 to 100 continuously in a TextField by clicking on
button. (use Runnable Interface).
14 Write a java program to simulate traffic signal using
multithreading.
15 Write a java program which will display name and priority of
current thread. Change name of Thread to MyThread and
priority to 2. Display the details of Thread.
16 Write a Socket program in java which displays the server
machine date and time on the client machine.

You might also like