Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

Compare AWT with Swing. Explain the MVC architecture used in Swing components with a suitable diagram.

swingmvc
2long10 marks

What is JSP? Explain the JSP life cycle and the different JSP scripting elements with examples.

jsp
3long10 marks

Explain socket programming in Java. Write a client-server program using TCP sockets where the server echoes the message sent by the client.

socket
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

Explain adapter classes in Java event handling.

event-handling
5short5 marks

What is the use of the JTable component? Explain.

swing
6short5 marks

Discuss the steps involved in connecting to a database using JDBC.

jdbc
7short5 marks

What is a cookie? How is it used for session management?

servletcookie
8short5 marks

Differentiate between GenericServlet and HttpServlet.

servlet
9short5 marks

Explain the role of the stub and skeleton in RMI.

rmi
10short5 marks

What are JSP directives? List and explain.

jsp
11short5 marks

Write a Java program using RMI to find the product of two numbers.

rmi
12short5 marks

What is the difference between doGet() and doPost() methods?

servlet