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. Max. : 100 Marks
Part –A Answer all the Questions 10×2=20
- What is Encapsulation?
- List the Type Casting?
- What is an Exception?
- Define Applet life cycle.
- List out the types of Layouts.
- List out the types of JDBC Drivers.
- What is the use of Java Bean?
- Write the Difference between JSP and Servlets?
- What are the types of Beans available in Java?
- List the features of Servlets?
Part – B Answer all the questions 8×5=40
- What is Inheritance? Write a program to implement inheritance.
or
What is polymorphism? Write a program to implement Polymorphism.
- Write a program to handle an Exception using try and catch block.
or
Explain the different states of a thread.
- Write short notes on 1. wait() 2. notify() 3. Notify all().
or
What is String Buffer? Explain with a program.
- Define Vector Class? Explain with a program.
or
Explain the procedure to connect and Implement JDBC application ?
- Explain about the four types of JDBC Driver.
or
Explain about the Elements of a Java Bean.
Part – C Answer any Two Questions 2×20=40
- a) Write a Socket program.
- b) Create a Java Bean with a Logo to validate the given Pin number
- a) Explain the Java Bean Component specification.
- b) List the Life cycle of Servlets and explain with programming example.
- a) Explain about the different tags in JSP.
- b) Draw and Explain the Request-Response process in JSP.
Latest Govt Job & Exam Updates: