Write down steps to create a DSN file for Ms Access Database and Oralce Database.
Write down the steps for JDBC process.
Develop code to define JDBC Connections to Oracle and MySQL database.
Develop code to demonstrate the CreateStatement interface to Insert, Update & Delete records in an oracle table.
Develop code to demonstrate the ResultSet interface to retrive table data, consider the following schema. Table Name: Student (Sid, Sname,SGender, SBdate, SPerc, SCity) Display the student details report in following manner: a. Ascending order of “SBdate” b. Descending order of the “Scity” whose gender is “Male” c. Descending order city where Scity=”Jamnagar” & “Rajkot”
Develop code to demonstrate PreparedStatement for Insert, Update & Delete for the above table.
Develop code to display the records of above table using PreparedStatement and Resultset where City belongs to Baroda.
Develop code to demonstrate CallableStatement for Insert, Update & Delete. (Create a procedures in oracle for above table).
Develop code to demonstrate ResultSetMetaData for the above table (at least five methods)
Develop code to demonstrate DatabaseMetaData for the above table (at least five methods)
Develop code to define connection with MS Access database.
Develop code that selects records from an Oracle table and insert them in MySql Table.
Develop code to demonstrate the callable statement for two Input Parameters and three OutPut Parameters
Assignment – 2 | Servlet
Differentiate GET vs POST
Differentiate Generic Servlet vs Http Servlet
Differentiate Http Request vs Http Response
Develop Servlet to demonstrate the life cycle methods of Servlet.
Develop Servlet to demonstrate the usage of GET & POST methods.
Develop Servlet to demonstrate Servlet Config and Servlet Context.
Develop Servlet to display the client (header) information using HTTP Request.
Develop an HTML page with all types of input elements and display it using a servlet.
Develop Servlet to demonstrate the URL Rewriting.
Develop Servlet to demonstrate the Hidden form fields.
Develop Servlet to demonstrate the Cookies.
Develop Servlet to demonstrate the Session to store username and password from an HTML page.
Develop Servlet to demonstrate the Request Dispatcher object.
Develop Login application using Servlet & JDBC to validate user.
Develop Servlet to display student table data in an HTML table format, retrieve the connection string from web.xml file to define JDBC connection.
Assignment – 3 | Java Server Pages (JSP)
Differentiate Servlet vs JSP
Develop a JSP to demonstrate JSP Scripting elements
Develop a Static Login page using JSP
Develop a Dynamic Login page using JSP (use JDBC)
Develop a JSP to demonstrate the servlet context and servlet config.
Develop a JSP page to demonstrate the Use Bean (Action element)
Develop a JSP page to demonstrate scope of JSP variables. (like request, application etc.,)
Develop a JSP login page with log out option. Add password to session and username to cookie. Destroy cookie and session when user logs out.
Develop a JSP page to demonstrate include and forward from JSP page only.
Develop a JSP page to demonstrate exception using page directives.
Develop a JSP page to demonstrate all implicit objects.
Develop a JSP page that demonstrate exception/error handling.
Develop JSP application that demonstrate the MVC architecture.
Develop a JSP application to perform CRUD operation using Oracle/MySql