What are the uses of focus and item event? Write a socket program using UDP to create three programs, two of which are clients to a single server. Client1 will send a character to the server process. The server will circularly decrement the letter to the previous letter in the alphabet and send the result to Client2. Then Client2 prints the letter it receives and then all the processes terminate.
Write a JavaFX application that creates a ChoiceBox with a list of colors. Display a label that changes its text based on the selected color from the ChoiceBox. Write down steps for writing CORBA programs with suitable example.
Discuss about JSP implicit objects. Assume a database with the table TEACHER (ID, Name). Now using JDBC, execute the following SQL query.
a. select * from TEACHER;
b. insert into TEACHER values (8, 'Ramesh');
c. select name from TEACHER where ID = 9;
Attempt any Eight questions
[8x5=40]Write a program to insert an icon in the frame and when the user press up arrow, it will move upward.
How do you handle HTTP request and response using JSP? Illustrate with an example.
Describe the life cycle of servlet.
Write a program to input the name of faculty and throw an exception if that input is not "CSIT".
Write a program to design a layout of simple calculator. You do not need to show the arithmetic operation.
What is package? Differentiate between method overloading and overriding.
Write a program to demonstrate the concept of internal frame.
Write a program to create a class MOVIE with attribute name and genre. Write the movies with genre comedy on COM.DAT file.
Do we still need java applet? Justify. Give the hierarchy of swing class.