1. Why do we need top level container like JFrame to write Java programs with GUI?
How can we display two dimensional objects in Java?
2. Explain JTextField and JTextArea components of Java swing library.
3. How do you set and get Cookie in Servlet? Explain using suitable Java program.
4. Explain different scripting elements of JSP with example.
5. What is the role of Event Listener in event handling? List different event
listener provided by Java.
6. What is keyEvent? Explain with proper example.
7. What are the key methods provided in HttpSession interface for handling session?
Explain.
8. Differentiate between servlet and JSP.
9. What is the purpose of Serialization in Swing?
10. What is a LayoutManager and explain the different types of LayoutManager with
an example.
11. Explain about the Swing MVC design pattern with an example?
12. Explain Top-level containers, Intermediate containers and Atomic components of
Java Swing library.
13. Write short notes on:
a) Java web frameworks
b) Adapter classes
c) Life cycle of a servlet
b) MouseEvent and MouseListener
c) Session tracking