Advanced Java Important Questions PDF

Title Advanced Java Important Questions
Author khushi shah
Course Computer engineering
Institution L J Institute of Engineering and Technology
Pages 2
File Size 251.7 KB
File Type PDF
Total Downloads 352
Total Views 884

Summary

`L. Institute of Engineering & Technology Semester: VI (2016)Subject Name: ADVANCED JAVA – Important QuestionsSubject Code: 2160707 Faculties: MS. HEMALI MOJIDRA(SHAH) And MS. ESHAN PANCHALADVANCED JAVA (2160707) 2016 Page 1`L. Institute of Engineering & Technology Semester: VI (2016...


Description

`L.J. Institute of Engineering & Technology

Semester: VI (2016)

Subject Name: ADVANCED JAVA – Important Questions Subject Code: 2160707 Faculties: MS. HEMALI MOJIDRA(SHAH) And MS. ESHAN PANCHAL

ADVANCED JAVA (2160707)

2016

Page 1

Sr No 1

2

QUESTIONS UNIT-1 JAVA NETWORKING Explain the following classes with their use. 1. Institute URLConnection and URL Class `L.J. of Engineering & Technology Semester: VI (2016) 2. InetAddress (Example- Write the program to display local machine IP Address) 3. Socket and ServerSocket (You can write here TCP Network program) 4. DatagaramSocket and DatagramPacket (You can write here UDP Network program) Write any TCP (Connection Oriented) Server And Client Networking Program.

3

Write any UDP (Connection less) Server And Client Networking Program.

4

Explain JDBC Architecture.

5

Explain types of various JDBC drivers. (JUNE-14 )[LJIET] OR List out different types of JDBC driver and explain each. OR What is JDBC? What are the various types of JDBC Driver? Write code snippet for each type of JDBC connection. (MAY-15 )[LJIET] OR Explain JDBC driver types. (JAN-13 )[LJIET] Explain Following JDBC API classes with their Use. OR (Explain classis use for the database connection) 1)Driver 2)DriverManager 3)Connection 4)Statement 5)ResultSet Types of MetaData Or Classes- 6)DatabaseMetaData 7)ResultSetMetaData Explain all 3 JDBC Statements. (With Example) (Prepare difference also) 1) Statement 2)PreparedStatement 3) CallabaleStatement Create Any application that demonstrate Insert, Update , Delete and Select operation on database. Assume any table.

UNIT-2 JDBC PROGRAMMING

6

7 8

9

UNIT-3 SERVLET API AND OVERVIEW Explain Servlet Life Cycle in detail.

Marks 3/4 Each

7 7 7 7 7

7

7 each 7

7

10

Explain MVC architecture and the advantage of it.

11

Give the characteristics of the HTTP protocol and explain the GET, POST, HEAD and PUT methods of the HTTP protocol.

7

12

Explain use of following interfaces 1)ServlateContext 2)ServletConfig 3)ServletRequest 4)ServlateResponse What is cookie? What is use of it? How to read and write cookie object?

7

13 14 15

What is Session? Develop any Servlet application which demonstrates use of session management. Write a note on the filter- It should cover – What is filter? use of it. Filter API interfaces. and Demo program on it.

Prepare any Servlet program (Find Maximum, Minimum , Addition of numbers, calculate length of String) (You must know the basic structure of Servlet class, index.html and web.xml file for all program) ADVANCED JAVA (2160707) 2016 UNIT-4 JAVA SERVER PAGES (JSP AND JSTL) 17 Explain JSP Life Cycle in detail. 16

7 7

7

Page 2

7...


Similar Free PDFs