VTU Previous Year Question Papers BE CS
Seventh Semester Java and J2EE Dec 2011
Note: Answer any FIVE full questions, selecting at least TWO questions from each part.
1 a. List and explain the features of Java.
b. Explain the process of building and running a java application program.
c. Explain the following:
i) JVM ii) Type casting.
2 a. Define exception. Demonstrate the working of nested try blocks, with suitable examples.
b. What are applets? Explain the different stages in the life cycle of an applet.
c. Write short notes on:
i) Final class ii) Abstract class.
3 a. What is multithreading? Explain any two advantages of multithreaded programs.
b. Write a Java program to implement a producer-consumer problem, using threads
c. Explain the mechanism of event delegation model. Give an example for using keyboard event.
4 a. What is a swing? Explain the components and containers in the swings.
b. Explain the following, with an example for each:
i) J Text Field class ii) J Button class iii) J Combo Box class.
5 a. Explain the J2EE architecture.
b. Describe the various steps of JDBC, with code snippets.
c. What are the transactions? Explain.
6 a. What is a servlet? What are the phases of servlet life cycle? Give an example.
b. Write short notes on:
i) Session tracking ii) Cookies
7 a. What are the different types of JSP tags? Demonstrate with a simple JSP program.
b. What is RMI? Describe the code snippet RMI at client side.
8 a. What are the different kinds of enterprise beans? Explain.
b. What is a deployment descriptor? List the deployment descriptor for EJB 1.1.
c. Write a note on JAR file.