BUILD A JAVA WEB PROJECT TO MANIPULATE DATA IN THE ORACLE DATABASE – Develop Java Web Applications to Access Databases

8.5  BUILD A JAVA WEB PROJECT TO MANIPULATE DATA IN THE ORACLE DATABASE Now let’s take care of manipulating data against our Oracle 18c XE database by using different methodologies, which include inserting, updating and deleting records from our sample database, CSE _ DEPT, via our Web application project. FIGURE…

Continue Reading....

Insert New Records to the Faculty Table Using JavaServer Pages and Java Beans – Develop Java Web Applications to Access Databases

8.5.2   Insert New Records to the Faculty Table Using JavaServer Pages and Java Beans To use JavaServer Pages and Java bean techniques to insert a new record into the Faculty Table, we need to perform the following operations: 1) Create a new Java bean class file, FacultyInsertBean.java, to handle the…

Continue Reading....

Modify the FacultyProcess.jsp Page to Handle Faculty Data Collection and Insertion 3 – Develop Java Web Applications to Access Databases

1) In the NetBeans IDE with our project opened, open the Services window.2) Right-click on the Databases folder and select the New Connection item.3) In the opened New Connection Wizard, click the dropdown arrow in the Driver combo box, and select the Oracle Thin item, since we installed this kind…

Continue Reading....

Modify the FacultyProcess.jsp Page to Handle Faculty Data Collection and Insertion – Develop Java Web Applications to Access Databases

8.5.2.2  Modify the FacultyProcess.jsp Page to Handle Faculty Data Collection and Insertion Double-click on the FacultyProcess.jsp page in the Projects window in our new project, and perform the following modifications and additions to this page to use the Java bean class file FIGURE 8.82   The finished Insert Use Bean dialog…

Continue Reading....

Update and Delete Data from the Faculty Table Using JSP and Java Beans Techniques – Develop Java Web Applications to Access Databases

8.5.3  Update and Delete Data from the Faculty Table Using JSP and Java Beans Techniques To use the JavaServer Pages and Java bean techniques to perform data updating and delete actions against the Faculty Table, we need to perform the following operations: 1) Create a new Java Session bean class,…

Continue Reading....

Modify the FacultyProcess Page to Handle Faculty Data Updating – Develop Java Web Applications to Access Databases

8.5.3.2  Modify the FacultyProcess Page to Handle Faculty Data UpdatingDouble-click on the FacultyProcess.jsp page in the Projects window and perform the fol-lowing modifications to this page to use the Java bean FacultyUpdateDeleteBean.java to perform the faculty record update actions: 1) Move the cursor to just under the line else if…

Continue Reading....