Advance java technology imp question GTU


1: 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.
2: 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.

3: Explain the following classes with their use.
i. URLConnection class
ii. DatagramSocket and DatagramPacket class
4: Give the advantages of n-tier architecture and discuss the objectives of the
Enterprise applications.
5: What is filter? What is its use? List the different filter interfaces with their
important methods.
6: List the servlet session level events and show that how servlet destroy event is
handled?

7: 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.

8: Explain the JSP implicit objects with their use.
9: Write a JSP page that prints your resume in well formatted form.
10: Explain the servlet life cycle with life cycle methods.
11: What are cookies? Write a servlet that reads and prints all the previous cookies
and add a cookie with your name.

12: Explain the features of core tag library for JSP.
13: Explain the following with respect to JSP Unified EL.
i. Value expressions
ii. Method expressions
14: Give the hibernate architecture and discuss each part in brief.
15: WAP that will take fnm,snm,email from user. Store that data into DB and display data from DB
16: Explain InetAddress class with its factory methods.
17: Get value from user and create cookie in another jsp page and also view.
18: Exaplin ServletConfig and ServletContext interfaces with required code.
19: Explain following jsp action tags with syntax:
1)     jsp:useBean            2) jsp:plugin                 3) jsp:forward & jsp:param
4)   jsp:expression         5) jsp:include
20: Explain following jstl tags with syntax and with attributes:
1)     <c:set>       2) <c:forEach>  3) <c:choose>
21: Explain following jstl tags with syntax and with attributes:
1)     <sql:setDataSource             2) <fmt:formatDate>                 3) <fn:substring>
22: Explain RequestDispatcher API with required code and methods.
23: Explain all elements of JSP. (scriptlet, action, declaration, directive,comment)
24: Explain all attributes of page directive with syntax.
25: Explain types of statement and give example of preparedStatement.
26: What is pluggable look and feel? State advantages of swing.
27: List and explain layout in swing.
28: W.A.P having three buttons red, green and blue as text. When a button is clicked corresponding background is printed.
29: W.A.P having color and effect as menu. Write code to generate menu according to this hierarchy.
            Color: Red->Green->Blue
            Effect: E1->E2
30: W.A.P for calculator for RMI application.
31: W.A.P for RMI application where employee name is sent to server and server returns its
Corresponding salary and joining date.
32: Draw and explain RMI architecture.
33: W.A.P for following computation.


Aaa
abc






                     Button

 List 1                                                                                                  List 2
When button is clicked, all the items from list1 are moved into list2.
33: Explain JNDI.
34: Write and explain steps to run RMI application.
35: Generate a JTable with vertical and horizontal scrollbar as needed.