VTU Previous Year Question Papers BE CS Seventh Semester Java and J2EE June 2012

VTU Previous Year Question Papers BE CS Seventh

Semester Java and J2EE June 2012


Note: Answer any FIVE full questions, selecting at least TWO questions from each part.


1 a. List and explain the characteristic features of java language.

b. Briefly discuss about the java development tool kit.

c. Explain the process of building and running java application program.


2 a. Explain the constructor method. How it differs from other member function.

b. What is an applet? Explain different stages in life cycle of an applet.

c. What is a Java exception? Explain the exception handling mechanism with an example.


3 a. Write short notes on modifiers:

i)   Static

ii)  Final

iii) Abstract

iv) Native

b. What is a package? What are the steps involved in creating user defined packages?


4 a. Discuss about swing features. List its components and containers.

b. Develop an applet to create a label, a text field and 4 check boxes with the caption “red”, “green”, “blue” and “yellow”.


5 a. What are servlets? Explain the different stages in life cycle of a servlet Apl’s.

b. What is the role of Tomcat for servlet development? Explain the steps involved in configuring Tomcat web server.

c. Explain the uses of cookies with programs.


6 a. Briefly discuss about the various JDBC driver types.

b. Write a program to display the current contents of a table in the data base.


7 a. Write the differences between JSP and servlets.

b. Explain the Javax servlet packages.

c. Develop a simple servlet program that handles the HTTP request and response.


8 a. Write a program using RMI (Remote Method Innovation) concept such as client and server program in which clicnt sends hello message to server and server replies for the client.

b. Write short notes on :

i)   Session Java Beans

ii)  Entity Java Beans.

Leave a Comment