0% found this document useful (0 votes)
359 views2 pages

AJT - Practical List

The document outlines 18 programming tasks involving Java GUI, database connectivity, RMI, servlets, JSP, and Hibernate. The tasks include creating a GUI form with validation, a calculator GUI, displaying a database table in a JTable, connecting to a database and printing metadata, modifying the GUI form to save data to a database, creating message client-server classes, temperature client-server classes using datagrams, a simple RMI application, servlets for displaying the date, login validation, tracking user visits with cookies, displaying request headers and form data, converting text to uppercase with a filter, JSPs for displaying date/time, math operations, odd numbers in a range, login module, and a basic

Uploaded by

hitesh28110
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
359 views2 pages

AJT - Practical List

The document outlines 18 programming tasks involving Java GUI, database connectivity, RMI, servlets, JSP, and Hibernate. The tasks include creating a GUI form with validation, a calculator GUI, displaying a database table in a JTable, connecting to a database and printing metadata, modifying the GUI form to save data to a database, creating message client-server classes, temperature client-server classes using datagrams, a simple RMI application, servlets for displaying the date, login validation, tracking user visits with cookies, displaying request headers and form data, converting text to uppercase with a filter, JSPs for displaying date/time, math operations, odd numbers in a range, login module, and a basic

Uploaded by

hitesh28110
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Write a Program to create a GUI form using swing that has the following format.

The user is required to fill all the required information. When the user will fill the
details and click ok then a message will be displayed, showing whether the
information is successfully submitted or the data has an error.

2. Write a program of calculator which looks as below.



3. Write a program with Java GUI that displays the entire EMP table from the
SAMPLE database in the JTABLE object.
4. Write a Java Program which makes a database connection and print the metadata
and name of driver.
5. Modify the program stated in 1 to include the database connectivity with it. The
student details should be entered in the database using prepared statement.
6. Create a pair of classes called ImmediateMessage and ImmediateMessageServer.
Objects of the ImmediateMessageServer class should listen on a specified port
for a connection from other systems, and then displays the information received on
the connection. Objects of the ImmediateMessage class will connect to these
server objects and send a single message to be displayed at the server system.
7. Create a pair of classes called TemparatureServer and TemparatureClient. Objects
of the TemparatureServer class contain a table of current temperatures for a
number of cities around the world. They receive requests from TemparatureClient
objects in the form of datagram. Each datagram contains the name of a city that
the server looks up in its table. The current temperature for the city is returned
by the TemparatureServer object to the TemparatureClient object in a datagram.
If the requested city cannot be found, an empty string is returned.
8. Create a simple application that demonstrates the use of RMI.
9. Create a servlet that prints todays date.
10. Create a servlet for a login page. If the username and password are correct then it
says message Hello <username> else a message login failed.
11. Create a servlet that uses Cookies to store the number of times a user has visited
servlet.
12. Create a servlet that displays some header information from your request as
well as any form data.
13. Create a servlet filter that changes all text to upper case.
14. Create a JSP that prints current date and time.
15. Create a JSP that adds and subtracts two numbers.
16. Create a JSP that prints odd numbers that come within a range.
17. Create a JSP for login module.
18. Create a simple application of hibernate for inserting contact details that
demonstrates O/R mapping.

You might also like