GTU previous year question papers
GUJARAT TECHNOLOGICAL UNIVERSITY
BE SEM-VII Examination-Nov/Dec-2011
Subject code: 17 03
Subject Name: Advance java Technology
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1 (a) Give significance of MVC architecture in building n-tier application. Explain in detail.
(b) Explain various types of JDBC drivers and comment on selection of driver.
Q.2 (a) Explain architecture of J2EE. List out java technologies
supported by J2EE along with their applications.
(b) Explain the use of CallableStatement and
PreparedStatement with example.
(b) What is JNDI? How can it be used for accessing various
directory services such as LDAP, NIS, DNS?
Q.3 (a) How do RMI clients contact remote RMI servers? Explain
with detailed architecture of RMI.
(b) Consider Bank table with attributes AccountNo,
CustomerName, Balance, Phone and Address. Write a
database application which allows insertion, updation and
deletion of records in Bank table. Print values of all
customers whose balance is greater than 20,000.
Q.3 (a) Write an RMI application where client sends empno and
server returns corresponding salary by querying database.
(b) Write a program to demonstrate use of Internationalization
for various language supports.
Q.4 (a) Discuss Servlet life cycle methods. Explain role of web container.
(b) Write a client program to send any string from its standard
input to the server program. The server program reads the
string, finds number of characters and digits and sends it
back to client program. Use connection-oriented or
Q.4 (a) Explain Socket, ServerSocket, InetAddress classes. Write a
java program to find an IP address of the machine on which the program runs.
(b) Develop any Servlet application which demonstrates use of
Q.5 (a) List and explain various swing layouts and components with examples.
(b) Explain JSP tag library with examples.
Q.5 (a) Explain object serialization in detail with example.
(b) What are the differences between Java Bean and basic java
class? Explain Java Bean Architecture.