Advance java programming

AJP BLOG

Mid 1imp questions 

                           Set-1

Short 
1.What is JDBC? Explain its purpose? 
2.Write the syntax for establishing a database              connection using JDBC?
3.What is J2EE and what are its main architecture     types?
4.List the types of servers used in J2EE .     .    .  applications?
5.Name any two session tracking mechanisms used in Servlets? 

Long ....Unit-1
a)Explain the JDBC architecture with a neat diagram. Describe main components, flow of execution, and purpose ? 

b)Discuss the differences between Statement, PreparedStatement, and CallableStatement in JDBC with code snippets for each ?

c) Describe the steps involved in creating a simple JDBC application ?

d) Explain the major operations provided by ResultSet in JDBC with examples ?


Unit-2

a) Explain the three-tier architecture of J2EE with a neat diagram? 

b)Describe the role and types of J2EE containers? 
c) Discuss the HTTP request processing lifecycle in a web application ?

d)Explain HTTP Protocols and API ?

Unit-3

a)Explain Response and Redirection using Request Dispacher and using sendRedirect Method ?

b)Explain the Servlet Life Cycle with stages and methods?
.
.
.
.

                              Set-2
Short
1.List any two types of JDBC drivers?
2.Define a ResultSet in JDBC? 
3.Define a J2EE container and name its types?
4.What is an HTTP protocol? Name two HTTP methods?
5.List the main methods of the Servlet Life Cycle? 


Long.....unit-1

a)Explain about the Types of JDBC Drivers ?

b)Discuss the differences between Statement, PreparedStatement, and CallableStatement in JDBC with code snippets for each 

c)Explain the major operations provided by ResultSet in JDBC with examples ?

d) Explain Creating CRUD Application in detail ? 


Unit-2

a)Explain 3-tier architecture of J2EE with a neat diagram?

b)Discuss the differences between Statement, PreparedStatement, and CallableStatement in JDBC with code snippets for each ?

c)Describe the steps involved in creating a simple JDBC application ?

d)Explain HTTP Protocols and API ?


Unit-3

a)Describe how to use ServletContext and ServletConfig objects with examples? 

b) Explain Types of Servlets and Servlet Configuration with Deployment Descriptor ?










Comments

Popular Posts