LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

advertisement
LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034
B.Sc. / BCA DEGREE EXAMINATION –COMP. SCI. & COMP. APP.
SIXTH SEMESTER – APRIL 2007
CS 6653 / CA 6653 - J2EE
Date & Time: 24/04/2007 / 9:00 - 12:00
Dept. No.
Part –A Answer all the Questions
1. What is Encapsulation?
2. List the Type Casting?
3. What is an Exception?
4. Define Applet life cycle.
5. List out the types of Layouts.
6. List out the types of JDBC Drivers.
7. What is the use of Java Bean?
8. Write the Difference between JSP and Servlets?
9. What are the types of Beans available in Java?
10. List the features of Servlets?
Part – B
Answer all the questions
Max. : 100 Marks
10x2=20
8x5=40
11. What is Inheritance? Write a program to implement inheritance.
or
What is polymorphism? Write a program to implement Polymorphism.
12. Write a program to handle an Exception using try and catch block.
or
Explain the different states of a thread.
13. Write short notes on 1. wait() 2. notify() 3. Notify all().
or
What is String Buffer? Explain with a program.
14. Define Vector Class? Explain with a program.
or
Explain the procedure to connect and Implement JDBC application ?
15. Explain about the four types of JDBC Driver.
or
Explain about the Elements of a Java Bean.
Part – C
Answer any Two Questions
2x20=40
16. a) Write a Socket program.
b) Create a Java Bean with a Logo to validate the given Pin number
17. a) Explain the Java Bean Component specification.
b) List the Life cycle of Servlets and explain with programming example.
18. a) Explain about the different tags in JSP.
b) Draw and Explain the Request-Response process in JSP.
*****
1
Download