VTU Previous Year Question Papers BE CS Seventh Semester Java and J2EE June 2010
VTU Previous Year Question Papers BE CS Seventh Semester
Java and J2EE June 2010
Note: Answer any FIVE full questions, selecting at least TWO questions from each part.
1 a. Explain any five object oriented features supported by java, with examples.
b. Explain the salient features of java.
c. What is polymorphism? Explain with an example.
2 a. Explain the applet architecture and demonstrate how to pass parameters for fount size, font
name, and type conversion in applets.
b. What is an inner class? Write a program to demonstrate inner class.
c. Explain the java’s built in exceptions.
3 a. What is synchronization? What is role of synchronization in threads? Demonstrate a program using synchronized methods.
b. Explain the producer consumer problem with a program.
c. What is an adapter class? Demonstrate, with an example.
4 a. Briefly explain the containers and components in swings.
b. Explain the JScrollpane and JComboBox with a program.
5 a. Briefly explain the callable statement object. Write a program to call a stored procedure.
b.What is transaction processing? Write a program to execute a database transactions0 Marks)
6 a. What is a servlet? Explain the life-cycle of the servlet.
b. List out the differences between CGI and servlets.
c. What is a cookie? List out the methods defined by cookie. Write a program in HTML for adding a cookie.
7 a. What is JSP? Explain the different types of JSP tags.
b. What is RMI concept? Explain the server side and client side methods.
c. What are the advantages of JSP?
8 a. Briefly describe the enterprise java beans.
b. Differentiate between stateless and state ful session bean.
c. Explain the functions of EJB transaction attributes and write a program to set the transaction attribute.