Bsc 3 - Advance Java Assignments.
JDBC
Short Answer questions
1.What is JDBC ?
2.Describe CallablStatement.
3.Describe ResultSet interface.
4.What is the difference between execute, executeQuery, executeUpdate?
Long Answer questions
1.What are the steps in the JDBC connection? Explain in detail.
2.Differentiate between the statement and PreparedStatement with suitable example.
3. State the purpose of the following JDBC classes and interfaces
i) Driver manager ii) Connection iii) Statement
4.Write a java program which perform DML operation on table.
5.Explain types of JDBC drivers with suitable example.
6. Write a program to delete the records of employees having the designation as “Supervisor” by using PreparedStatement interface in JDBC.
Servlets
Short Answer questions
1.What is Deployment descriptor ?
2.List out advantages of JSP over servlet
3.What is the role of attribute in servlets?
4.Explain the servlet life cycle.
5.Explain ServletContext interface
6.Write a servlet to display “Hello” message (use doGet( )).
7.Write a program to implements HTTP request POST method in servlet
Long Answer questions
1.Write a program to demonstrate the use of GenericServlet and HttpServlet .
2. Write a servlet that demonstrates the use of the ‘HttpSession object’.
3.Write a demonstration program to use of include () and forward () method of ‘RequestDispatcher’
4.Write a program to navigation (last, first, next, previous) employeerecords such as eid, ename, designation, DOB, etc from employee table.
Comments
Post a Comment