Download GTU BE/B.Tech 2018 Winter 7th Sem Old 170703 Advance Java Technology Question Paper

Download GTU (Gujarat Technological University) BE/BTech (Bachelor of Engineering / Bachelor of Technology) 2018 Winter 7th Sem Old 170703 Advance Java Technology Previous Question Paper

1
Seat No.: ________ Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY

BE - SEMESTER ?VII (OLD) EXAMINATION ? WINTER 2018
Subject Code: 170703 Date: 26/11/2018

Subject Name: Advance Java Technology

Time: 10:30 AM TO 01:00 PM Total Marks: 70

Instructions:

1. Attempt all questions.

2. Make suitable assumptions wherever necessary.

3. Figures to the right indicate full marks.

Q.1 (a)
Write swing code to create toggle button and checkbox and handle their click event.
Differentiate between toggle button and check box.
07
(b) Explain various types of JDBC drivers and comment on selection of driver. 07

Q.2 (a) Explain the use of CallableStatement and PreparedStatement with example 07
(b) Explain architecture of J2EE. List out java technologies supported by J2EE along
with their applications
07
OR
(b) Write a Java Bean to connect to database and insert in the database. Query will
be passed as a message to bean.
07

Q.3 (a) What is JNDI? How can it be used for accessing various directory services such
as LDAP, NIS, DNS?
07
(b) What is filter? What is its use? List the different filter interfaces with their
important methods
07
OR
Q.3 (a) Explain internationalization and its usage 07
(b) Explain Servlet life cycle & importance of context and config object. 07

Q.4 (a) What are cookies? Write a servlet that reads and prints all the previous cookies
and add a cookie with your name
07
(b) Enlist and explain the purpose and use of action tags in JSP 07
OR
Q.4 (a) Explain event handling in Java Servlet with example 07
(b) Explain JSP tag library with examples 07

Q.5 (a) Give the hibernate architecture and discuss each part in brief 07
(b) Explain Socket, ServerSocket, InetAddress classes. Write a
java program to find an IP address of the machine on which
the program runs.
07
OR

Q.5 (a)
Explain O/R Mapping in Hibernate with example
07
(b) Write a TCP or UDP client and server program to do the following:
client> java client localhost/IP Port
Enter text: I hope, this time I clear Advance Java
Response from server: avaJ ecnavdA raelc I emit siht ,epoh I
client> exit
07

*************
FirstRanker.com - FirstRanker's Choice

This post was last modified on 20 February 2020