GTU previous year question papers BE- VIIth Sem -Advance java Technology – May/June- 2012

 GTU previous year question papers

GUJARAT TECHNOLOGICAL UNIVERSITY

BE- VIIth SEMESTER–EXAMINATION – MAY/JUNE- 2012

Subject code: 1703 

Subject Name: Advance Java Technology

Instructions:

1. Attempt all questions.

2. Make suitable assumptions wherever necessary.

3. Figures to the right indicate full marks.

Q.1 (a) Answer the following questions w.r.to Swing.

i. What is pluggable look and feel? How do you set the look and feel of the

components?

ii. Give the limitations of AWT and explain how do Swing overcome them.

(b) What is JDBC driver? What is its role? List the types of drivers and explain

working of type-4 driver. Give the different ways to create the JDBC connection

with example. 

Q.2 (a) What is Callable statement? Write a procedure to insert a row into the table

student(roll_no,name,%ge) and call it using callable statement in JDBC

application. 

(b) Explain the following classes with their use.

i. URLConnection class

ii. DatagramSocket and DatagramPacket class 

OR

(b) Give the advantages of n-tier architecture and discuss the objectives of the

Enterprise applications. 

Q.3 (a) What is RMI? Give the architecture of RMI and discuss the functions of each

layer. What is role of RMI registry? 

(b) What is filter? What is its use? List the different filter interfaces with their

important methods. 

OR

Q.3 (a) What is serialization/deserialization of objects? Why do you need it? Give the

example with necessary code. 

(b) List the servlet session level events and show that how servlet destroy event is handled? 

Q.4 (a) Write a servlet which counts the number of digits into an integer received as

parameter. Give the necessary web.xml file to deploy the servlet. 

(b) Explain the JSP implicit objects with their use.   

OR

Q.4 (a) Write a JSP page that prints your resume in well formatted form.   

(b) Explain the servlet life cycle with life cycle methods.   

Q.5 (a) What are cookies? Write a servlet that reads and prints all the previous cookies

and add a cookie with your name. 

(b) Explain the features of core tag library for JSP.   

OR

Q.5 (a) Explain the following with respect to JSP Unified EL.

i. Value expressions

ii. Method expressions 

(b) Give the hibernate architecture and discuss each part in brief.|   

 

Leave a Comment