();
+ String URL2 = "com.mysql.jdbc.Driver";
+ Connection con = new UtilitiesDatabase().connection(
+ databaseName, userName, password, URL2);
+ PreparedStatement ps = null;
+ try
+ {
+ if (con == null)
+ {
+ throw new RuntimeException("cannot connect to database");
+ }
+ String table = "";
+ ResultSet rs = null;
+ String sqlStr = "SELECT * FROM tennis_db";
+ //prepare statement
+ ps = con.prepareStatement(sqlStr);
+ //execute
+ rs = ps.executeQuery();
+ int row = 0;
+ while (rs.next())
+ {
+ String sNumber = rs.getString(1);
+ String sName = rs.getString(2);
+ String bdate = "";
+ if ( rs.getDate(3) == null )
+ {
+ bdate = "2000-01-01 ";
+ }
+ else
+ bdate = rs.getDate(3) + " ";
+ int status = rs.getInt(4);
+ String city = rs.getString(5) + " ";
+ Players supplier = new Players(String town, String postCode, int houseNo, String street, int yearJoined, String gender, int playerNo, String name, String init, String birthDate, Date birthDateDate);
+ tableSuppliers.add(supplier);
+ row++;
+ }
+ }
+ catch (Exception ex)
+ {
+ ex.printStackTrace();
+ throw ex;
+ }
+ finally
+ {
+ try
+ {
+ new UtilitiesDatabase().closeDatabaseConnection(con);
+ // close the resources
+ if (ps != null)
+ {
+ ps.close();
+ }
+ }
+ catch (SQLException sqle)
+ {
+ System.out.println(sqle);
+ sqle.printStackTrace();
+ throw sqle;
+ }
+ }
+ return tableSuppliers;
+ }
+
+ @Override
+ public int update(Players t)
+ throws SQLException
+ {
+ String URL2 = "com.mysql.jdbc.Driver";
+ Connection con = new UtilitiesDatabase().connection(
+ databaseName, userName, password, URL2);
+ int result = 0;
+ PreparedStatement updateSupplier = null;
+ try
+ {
+ if (con == null)
+ {
+ throw new RuntimeException("cannot connect to database");
+ }
+
+
+ updateSupplier = con.prepareStatement(
+ "UPDATE supplier SET snumber=?, sname=?, status=?, birthday=?, city=? WHERE snumber=?");
+ updateSupplier.setString(1, t.getSnumber());
+ updateSupplier.setString(2, t.getSname());
+ updateSupplier.setInt(3, t.getStatus());
+ java.sql.Date bd = UtilitiesDatabase.stringDateToSqlDate(t.getBirthday());
+ updateSupplier.setDate(4, bd);
+ updateSupplier.setString(5, t.getCity());
+ updateSupplier.setString(6, t.getSnumber());
+ result = updateSupplier.executeUpdate();
+ }
+ catch (SQLException ex)
+ {
+ System.err.println(ex.toString());
+ throw ex;
+ }
+ finally
+ {
+ try
+ {
+ new UtilitiesDatabase().closeDatabaseConnection(con);
+ // close the resources
+ if (updateSupplier != null)
+ {
+ updateSupplier.close();
+ }
+ }
+ catch (SQLException sqle)
+ {
+ sqle.printStackTrace();
+ throw sqle;
+ }
+ }
+ return result;
+ }
+
+ @Override
+ public int delete(Players c) throws SQLException
+ {
+ String URL2 = "com.mysql.jdbc.Driver";
+ Connection con = new UtilitiesDatabase().connection(
+ databaseName, userName, password, URL2);
+ int result = 0;
+ PreparedStatement ps = null;
+ try
+ {
+ if (con == null)
+ {
+ throw new RuntimeException("Database connection failed.");
+ }
+ String query = "DELETE FROM supplier WHERE snumber=? ";
+ ps = con.prepareStatement(query);
+ ps.setString(1, c.getSnumber());
+ result = ps.executeUpdate();
+ }
+ catch (Exception ex)
+ {
+ System.err.println(ex.toString());
+ }
+ finally
+ {
+ try
+ {
+ new UtilitiesDatabase().closeDatabaseConnection(con);
+ // close the resources
+ if (ps != null)
+ {
+ ps.close();
+ }
+ }
+ catch (SQLException sqlee)
+ {
+ sqlee.printStackTrace();
+ }
+ }
+ return result;
+ }
+
+ @Override
+ public int insert(Players c) throws SQLException {
+ String databaseName = "tennis-23";
+ String driver = "com.mysql.jdbc.Driver";
+ Connection con = new UtilitiesDatabase().connection(databaseName, userName, password, driver);
+ ///"UPDATE supplier SET snumber=?, sname=?, status=?, birthday=?, city=? WHERE snumber=?"
+ String sqlStr = "INSERT INTO suppliers (snumber, sname, status, birthday, city) VALUES (?, ?, ?, ?, ?)";
+ int result = 0;
+
+ try (PreparedStatement ps = con.prepareStatement(sqlStr)) {
+ ps.setString(1, c.getSnumber());
+ ps.setString(2, c.getSname());
+ ps.setInt(3, c.getStatus());
+ ps.setDate(4, new java.sql.Date(c.getBirthday_date().getTime())); // Converts java.util.Date to java.sql.Date
+ ps.setString(5, c.getCity());
+
+ result = ps.executeUpdate();
+ } catch (SQLException sqle) {
+ sqle.printStackTrace();
+ throw sqle;
+ } finally {
+ new UtilitiesDatabase().closeDatabaseConnection(con);
+ }
+ return result;
+ }
+
+
+}
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/bl/players/Players.java b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/bl/players/Players.java
new file mode 100644
index 0000000..1a3719f
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/bl/players/Players.java
@@ -0,0 +1,159 @@
+/*
+ * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
+ * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
+ */
+package edu.slcc.asdv.bl.players;
+
+import edu.slcc.asdv.bl.UtilitiesDatabase;
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ *
+ * @author asdv5
+ */
+public class Players implements Serializable {
+
+ private String town;
+ private String postCode;
+ private int houseNo;
+ private String street;
+ private int yearJoined;
+ private String gender;
+ private int playerNo;
+ private String name;
+ private String init;
+ private String birthDate;
+ private Date birthDateDate;
+ private boolean insertFromDatatable;
+ private boolean modify;
+
+ public boolean isModify() {
+ return modify;
+ }
+
+ public void setModify(boolean modify) {
+ this.modify = modify;
+ }
+
+ public int getPlayerNo() {
+ return playerNo;
+ }
+
+ public void setPlayerNo(int playerNo) {
+ this.playerNo = playerNo;
+ }
+
+ public String getInit() {
+ return init;
+ }
+
+ public int getYearJoined() {
+ return yearJoined;
+ }
+
+ public String getPostCode() {
+ return postCode;
+ }
+
+ public void setPostCode(String postCode) {
+ this.postCode = postCode;
+ }
+
+ public String getStreet() {
+ return street;
+ }
+
+ public void setStreet(String street) {
+ this.street = street;
+ }
+
+ public int getHouseNo() {
+ return houseNo;
+ }
+
+ public void setHouseNo(int houseNo) {
+ this.houseNo = houseNo;
+ }
+
+ public void setYearJoined(int yearJoined) {
+ this.yearJoined = yearJoined;
+ }
+
+ public void setInit(String init) {
+ this.init = init;
+ }
+
+ public String getTown() {
+ return town;
+ }
+
+ public void setTown(String town) {
+ this.town = town;
+ }
+
+ public String getGender() {
+ return gender;
+ }
+
+ public void setGender(String gender) {
+ this.gender = gender;
+ }
+
+ public Players(String town, String postCode, int houseNo, String street, int yearJoined, String gender, int playerNo, String name, String init, String birthDate, Date birthDateDate) {
+ this.town = town;
+ this.postCode = postCode;
+ this.houseNo = houseNo;
+ this.street = street;
+ this.yearJoined = yearJoined;
+ this.gender = gender;
+ this.playerNo = playerNo;
+ this.name = name;
+ this.init = init;
+ this.modify = true;
+ this.insertFromDatatable = true;
+ this.birthDate = "2000-01-01";
+ this.birthDateDate = UtilitiesDatabase.stringDateToJavaUtilitiesDate(this.birthDate);
+ }
+
+
+ public boolean isInsertFromDatatable() {
+ return insertFromDatatable;
+ }
+
+ public void setInsertFromDatatable(boolean insertFromDatatable) {
+ this.insertFromDatatable = insertFromDatatable;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getBirthday() {
+ return birthDate;
+ }
+
+ public void setBirthday(String birthday) {
+ this.birthDate = birthday;
+ }
+
+ public Date getBirthday_date() {
+ birthDateDate = UtilitiesDatabase.stringDateToJavaUtilitiesDate(this.birthDate);
+ return birthDateDate;
+ }
+
+ public void setBirthday_date(Date birthday_date) {
+ this.birthDateDate = birthday_date;
+ int year = this.birthDateDate.getYear() + 1900;
+ int month = this.birthDateDate.getMonth() + 1;
+ int day = this.birthDateDate.getDate();
+ this.birthDate = Integer.toString(year) + "-"
+ + Integer.toString(month) + "-"
+ + Integer.toString(day);
+ }
+
+}
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/bl/players/Supplier_1.java b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/bl/players/Supplier_1.java
new file mode 100644
index 0000000..848b93b
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/bl/players/Supplier_1.java
@@ -0,0 +1,138 @@
+/*
+ * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
+ * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
+ */
+package edu.slcc.asdv.bl.players;
+
+import edu.slcc.asdv.bl.UtilitiesDatabase;
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ *
+ * @author asdv5
+ */
+public class Supplier implements Serializable
+{
+ private String snumber;
+ private String sname;
+ private String birthday;
+ private int status;
+ private String city;
+ private Date birthday_date;
+ private boolean insertFromDatatable;
+ private boolean modify;
+
+ public boolean isModify()
+ {
+ return modify;
+ }
+
+ public void setModify(boolean modify)
+ {
+ this.modify = modify;
+ }
+
+ public Supplier()
+ {
+ this.modify = true;
+ insertFromDatatable = true;
+ birthday = "2000-01-01";
+ birthday_date = UtilitiesDatabase.stringDateToJavaUtilitiesDate(birthday);
+ }
+
+ public Supplier(String snumber, String sname, String birthday, int status, String city)
+ {
+ insertFromDatatable = false;
+ this.snumber = snumber;
+ this.sname = sname;
+ this.birthday = birthday;
+ this.status = status;
+ this.city = city;
+ this.modify = false;
+ }
+
+ public boolean isInsertFromDatatable()
+ {
+ return insertFromDatatable;
+ }
+
+ public void setInsertFromDatatable(boolean insertFromDatatable)
+ {
+ this.insertFromDatatable = insertFromDatatable;
+ }
+
+ public String getCity()
+ {
+ return city;
+ }
+
+ public void setCity(String city)
+ {
+ this.city = city;
+ }
+
+ public int getStatus()
+ {
+ return status;
+ }
+
+ public void setStatus(int status)
+ {
+ this.status = status;
+ }
+
+ public String getBirthday()
+ {
+ return birthday;
+ }
+
+ public void setBirthday(String birthday)
+ {
+ this.birthday = birthday;
+ }
+
+ public Date getBirthday_date()
+ {
+ birthday_date = UtilitiesDatabase.stringDateToJavaUtilitiesDate(this.birthday);
+ return birthday_date;
+ }
+
+ public void setBirthday_date(Date birthday_date)
+ {
+ this.birthday_date = birthday_date;
+ int year = this.birthday_date.getYear() + 1900;
+ int month = this.birthday_date.getMonth() + 1;
+ int day = this.birthday_date.getDate();
+ this.birthday = Integer.toString(year) + "-"
+ + Integer.toString(month) + "-"
+ + Integer.toString(day);
+ }
+
+ public String getSname()
+ {
+ return sname;
+ }
+
+ public void setSname(String sname)
+ {
+ System.out.println(sname);
+ this.sname = sname;
+ }
+
+ public String getSnumber()
+ {
+ return snumber;
+ }
+
+ public void setSnumber(String snumber)
+ {
+ this.snumber = snumber;
+ }
+
+ @Override
+ public String toString()
+ {
+ return "Supplier{" + "snumber=" + snumber + ", sname=" + sname + ", birthday=" + birthday + ", status=" + status + ", city=" + city + '}';
+ }
+}
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/resources/META-INF/persistence.xml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/resources/META-INF/persistence.xml
new file mode 100644
index 0000000..baad290
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/resources/META-INF/persistence.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/WEB-INF/beans.xml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/WEB-INF/beans.xml
new file mode 100644
index 0000000..b3a1279
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/WEB-INF/beans.xml
@@ -0,0 +1,6 @@
+
+
+
\ No newline at end of file
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/WEB-INF/glassfish-web.xml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/WEB-INF/glassfish-web.xml
new file mode 100644
index 0000000..584a477
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/WEB-INF/glassfish-web.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+ Keep a copy of the generated servlet class' java code.
+
+
+
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/WEB-INF/web.xml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..11562f0
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,24 @@
+
+
+
+ jakarta.faces.PROJECT_STAGE
+ Development
+
+
+ Faces Servlet
+ jakarta.faces.webapp.FacesServlet
+ 1
+
+
+ Faces Servlet
+ /faces/*
+
+
+
+ 30
+
+
+
+ faces/supplier.xhtml
+
+
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/index.xhtml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/index.xhtml
new file mode 100644
index 0000000..3220605
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/index.xhtml
@@ -0,0 +1,51 @@
+
+
+
+
+
+ Supplier Parts DB
+
+
+
+
+ Suppliers-Parts Database
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/resources/css/styles.css b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/resources/css/styles.css
new file mode 100644
index 0000000..9d96af6
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/resources/css/styles.css
@@ -0,0 +1,71 @@
+.body {
+ background: #eee;
+}
+
+.button {
+ margin: 10px;
+ border-left: thin solid darkGray;
+ border-bottom: thin solid darkGray;
+ border-top: thin solid lightGray;
+ border-right: thin solid lightGray;
+ color: #777;
+ background: #A7C942;
+ font-family: "Comic Sans MS";
+ border-radius: 20%;
+}
+h1
+{
+ vertical-align: top;
+ text-align: middle;
+ font-style: italic;
+ color: #888;
+ font-size: 2em;
+ font-family: "Comic Sans MS";
+
+}
+
+.label
+{
+ color: #888;
+ font-size: 0.8em;
+ font-family: "Comic Sans MS";
+}
+.leftImage {
+ float: left;
+ margin-right: 1em;
+}
+
+.backLink {
+ font-style: italic;
+}
+
+
+.tableHeader {
+ font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
+ border-collapse:collapse;
+ font-size:1.1em;
+ text-align:left;
+ padding-top:5px;
+ padding-bottom:4px;
+ background-color:#A7C942;
+ color:white;
+ border:1px solid #98bf21;
+}
+
+.oddTableRow {
+ border:1px solid #98bf21;
+}
+
+.evenTableRow {
+ background-color: #eeeeee;
+ font-size:1em;
+
+ padding:3px 7px 2px 7px;
+
+ color:#000000;
+ background-color:#EAF2D3;
+}
+
+.table {
+ border:1px solid green;
+}
\ No newline at end of file
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/supplier.xhtml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/supplier.xhtml
new file mode 100644
index 0000000..3372982
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/webapp/supplier.xhtml
@@ -0,0 +1,101 @@
+
+
+
+
+ Suppliers Table
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT.war b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT.war
new file mode 100644
index 0000000..4051679
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT.war differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/beans.xml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/beans.xml
new file mode 100644
index 0000000..b3a1279
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/beans.xml
@@ -0,0 +1,6 @@
+
+
+
\ No newline at end of file
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/META-INF/persistence.xml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/META-INF/persistence.xml
new file mode 100644
index 0000000..baad290
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/META-INF/persistence.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/com/mycompany/supplierspartsdatabase/JakartaRestConfiguration.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/com/mycompany/supplierspartsdatabase/JakartaRestConfiguration.class
new file mode 100644
index 0000000..825b9fc
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/com/mycompany/supplierspartsdatabase/JakartaRestConfiguration.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/com/mycompany/supplierspartsdatabase/resources/JakartaEE9Resource.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/com/mycompany/supplierspartsdatabase/resources/JakartaEE9Resource.class
new file mode 100644
index 0000000..374f419
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/com/mycompany/supplierspartsdatabase/resources/JakartaEE9Resource.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/beans/SupplierBean.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/beans/SupplierBean.class
new file mode 100644
index 0000000..fc42b7f
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/beans/SupplierBean.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/DBase.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/DBase.class
new file mode 100644
index 0000000..a79d62d
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/DBase.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/UtilitiesDatabase.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/UtilitiesDatabase.class
new file mode 100644
index 0000000..7de8bbe
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/UtilitiesDatabase.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/part/DatabaseManipulationPart.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/part/DatabaseManipulationPart.class
new file mode 100644
index 0000000..1e37981
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/part/DatabaseManipulationPart.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/part/Part.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/part/Part.class
new file mode 100644
index 0000000..e8946b0
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/part/Part.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/supplier/DatabaseManipulationSupplier.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/supplier/DatabaseManipulationSupplier.class
new file mode 100644
index 0000000..87fb236
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/supplier/DatabaseManipulationSupplier.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/supplier/Supplier.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/supplier/Supplier.class
new file mode 100644
index 0000000..6ede459
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/classes/edu/slcc/asdv/bl/supplier/Supplier.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/glassfish-web.xml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/glassfish-web.xml
new file mode 100644
index 0000000..584a477
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/glassfish-web.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+ Keep a copy of the generated servlet class' java code.
+
+
+
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/lib/mysql-connector-j-8.1.0.jar b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/lib/mysql-connector-j-8.1.0.jar
new file mode 100644
index 0000000..9e38a71
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/lib/mysql-connector-j-8.1.0.jar differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/lib/primefaces-12.0.0-jakarta.jar b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/lib/primefaces-12.0.0-jakarta.jar
new file mode 100644
index 0000000..389c48c
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/lib/primefaces-12.0.0-jakarta.jar differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/lib/protobuf-java-3.21.9.jar b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/lib/protobuf-java-3.21.9.jar
new file mode 100644
index 0000000..c4fd860
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/lib/protobuf-java-3.21.9.jar differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/web.xml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/web.xml
new file mode 100644
index 0000000..11562f0
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/WEB-INF/web.xml
@@ -0,0 +1,24 @@
+
+
+
+ jakarta.faces.PROJECT_STAGE
+ Development
+
+
+ Faces Servlet
+ jakarta.faces.webapp.FacesServlet
+ 1
+
+
+ Faces Servlet
+ /faces/*
+
+
+
+ 30
+
+
+
+ faces/supplier.xhtml
+
+
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/index.xhtml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/index.xhtml
new file mode 100644
index 0000000..3220605
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/index.xhtml
@@ -0,0 +1,51 @@
+
+
+
+
+
+ Supplier Parts DB
+
+
+
+
+ Suppliers-Parts Database
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/resources/css/styles.css b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/resources/css/styles.css
new file mode 100644
index 0000000..9d96af6
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/resources/css/styles.css
@@ -0,0 +1,71 @@
+.body {
+ background: #eee;
+}
+
+.button {
+ margin: 10px;
+ border-left: thin solid darkGray;
+ border-bottom: thin solid darkGray;
+ border-top: thin solid lightGray;
+ border-right: thin solid lightGray;
+ color: #777;
+ background: #A7C942;
+ font-family: "Comic Sans MS";
+ border-radius: 20%;
+}
+h1
+{
+ vertical-align: top;
+ text-align: middle;
+ font-style: italic;
+ color: #888;
+ font-size: 2em;
+ font-family: "Comic Sans MS";
+
+}
+
+.label
+{
+ color: #888;
+ font-size: 0.8em;
+ font-family: "Comic Sans MS";
+}
+.leftImage {
+ float: left;
+ margin-right: 1em;
+}
+
+.backLink {
+ font-style: italic;
+}
+
+
+.tableHeader {
+ font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
+ border-collapse:collapse;
+ font-size:1.1em;
+ text-align:left;
+ padding-top:5px;
+ padding-bottom:4px;
+ background-color:#A7C942;
+ color:white;
+ border:1px solid #98bf21;
+}
+
+.oddTableRow {
+ border:1px solid #98bf21;
+}
+
+.evenTableRow {
+ background-color: #eeeeee;
+ font-size:1em;
+
+ padding:3px 7px 2px 7px;
+
+ color:#000000;
+ background-color:#EAF2D3;
+}
+
+.table {
+ border:1px solid green;
+}
\ No newline at end of file
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/supplier.xhtml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/supplier.xhtml
new file mode 100644
index 0000000..3372982
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/Suppliers_Parts_Calendar_Primefaces-1.0-SNAPSHOT/supplier.xhtml
@@ -0,0 +1,101 @@
+
+
+
+
+ Suppliers Table
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/META-INF/persistence.xml b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/META-INF/persistence.xml
new file mode 100644
index 0000000..baad290
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/META-INF/persistence.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/com/mycompany/supplierspartsdatabase/JakartaRestConfiguration.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/com/mycompany/supplierspartsdatabase/JakartaRestConfiguration.class
new file mode 100644
index 0000000..825b9fc
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/com/mycompany/supplierspartsdatabase/JakartaRestConfiguration.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/com/mycompany/supplierspartsdatabase/resources/JakartaEE9Resource.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/com/mycompany/supplierspartsdatabase/resources/JakartaEE9Resource.class
new file mode 100644
index 0000000..374f419
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/com/mycompany/supplierspartsdatabase/resources/JakartaEE9Resource.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/beans/SupplierBean.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/beans/SupplierBean.class
new file mode 100644
index 0000000..fc42b7f
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/beans/SupplierBean.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/DBase.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/DBase.class
new file mode 100644
index 0000000..a79d62d
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/DBase.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/UtilitiesDatabase.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/UtilitiesDatabase.class
new file mode 100644
index 0000000..7de8bbe
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/UtilitiesDatabase.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/part/DatabaseManipulationPart.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/part/DatabaseManipulationPart.class
new file mode 100644
index 0000000..1e37981
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/part/DatabaseManipulationPart.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/part/Part.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/part/Part.class
new file mode 100644
index 0000000..e8946b0
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/part/Part.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/supplier/DatabaseManipulationSupplier.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/supplier/DatabaseManipulationSupplier.class
new file mode 100644
index 0000000..87fb236
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/supplier/DatabaseManipulationSupplier.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/supplier/Supplier.class b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/supplier/Supplier.class
new file mode 100644
index 0000000..6ede459
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/classes/edu/slcc/asdv/bl/supplier/Supplier.class differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/endorsed/jakarta.jakartaee-api-9.0.0.jar b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/endorsed/jakarta.jakartaee-api-9.0.0.jar
new file mode 100644
index 0000000..8f74e44
Binary files /dev/null and b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/endorsed/jakarta.jakartaee-api-9.0.0.jar differ
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/maven-archiver/pom.properties b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/maven-archiver/pom.properties
new file mode 100644
index 0000000..6b6f496
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/maven-archiver/pom.properties
@@ -0,0 +1,5 @@
+#Generated by Maven
+#Sun Nov 19 23:24:30 CST 2023
+groupId=com.mycompany
+artifactId=Suppliers_Parts_Calendar_Primefaces
+version=1.0-SNAPSHOT
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
new file mode 100644
index 0000000..9779b57
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
@@ -0,0 +1,9 @@
+edu/slcc/asdv/bl/DBase.class
+edu/slcc/asdv/bl/UtilitiesDatabase.class
+com/mycompany/supplierspartsdatabase/JakartaRestConfiguration.class
+edu/slcc/asdv/bl/supplier/DatabaseManipulationSupplier.class
+edu/slcc/asdv/bl/supplier/Supplier.class
+edu/slcc/asdv/bl/part/DatabaseManipulationPart.class
+edu/slcc/asdv/beans/SupplierBean.class
+edu/slcc/asdv/bl/part/Part.class
+com/mycompany/supplierspartsdatabase/resources/JakartaEE9Resource.class
diff --git a/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
new file mode 100644
index 0000000..b0cc41b
--- /dev/null
+++ b/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
@@ -0,0 +1,9 @@
+/home/caleb/ASDV-WebDev/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/bl/part/Part.java
+/home/caleb/ASDV-WebDev/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/bl/part/DatabaseManipulationPart.java
+/home/caleb/ASDV-WebDev/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/com/mycompany/supplierspartsdatabase/JakartaRestConfiguration.java
+/home/caleb/ASDV-WebDev/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/bl/DBase.java
+/home/caleb/ASDV-WebDev/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/bl/supplier/DatabaseManipulationSupplier.java
+/home/caleb/ASDV-WebDev/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/com/mycompany/supplierspartsdatabase/resources/JakartaEE9Resource.java
+/home/caleb/ASDV-WebDev/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/beans/SupplierBean.java
+/home/caleb/ASDV-WebDev/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/bl/UtilitiesDatabase.java
+/home/caleb/ASDV-WebDev/Semester 2/Assignments/Tennis_Database_Primefaces_CalebFontenot/src/main/java/edu/slcc/asdv/bl/supplier/Supplier.java
diff --git a/Semester 3/Assignments/MP3-ajax-threads-patterns.zip b/Semester 3/Assignments/MP3-ajax-threads-patterns.zip
new file mode 100644
index 0000000..636c25a
Binary files /dev/null and b/Semester 3/Assignments/MP3-ajax-threads-patterns.zip differ
diff --git a/Semester 3/Assignments/MP3-ajax-threads-patterns/MP1_Ajax.zip b/Semester 3/Assignments/MP3-ajax-threads-patterns/MP1_Ajax.zip
new file mode 100644
index 0000000..7fb8466
Binary files /dev/null and b/Semester 3/Assignments/MP3-ajax-threads-patterns/MP1_Ajax.zip differ
diff --git a/Semester 3/Assignments/MP3-ajax-threads-patterns/StockDB.html b/Semester 3/Assignments/MP3-ajax-threads-patterns/StockDB.html
new file mode 100644
index 0000000..964371b
--- /dev/null
+++ b/Semester 3/Assignments/MP3-ajax-threads-patterns/StockDB.html
@@ -0,0 +1,78 @@
+
+
+
+StockDB.java
+
+
+
+
+/Users/asdv5/Desktop/slcc/S24/2800/MP1_Ajax/src/main/java/edu/slcc/ajax/bl/StockDB.java |
+
+ @Override
+ public void create(Stock t)
+ throws Exception
+ {
+ int result = 0;
+ Connection con = null;
+ try
+ {
+ con = con = new UtilitiesDatabase().connection(
+ "nyse", "root", "root", "com.mysql.jdbc.Driver");
+ }
+ catch (Exception e)
+ {
+ System.err.println(e);
+ throw e;
+ }
+ PreparedStatement updateStock = null;
+ try
+ {
+ updateStock = con.prepareStatement(
+ "INSERT INTO stock (stock_id, company_name, price_current, price_closing, number_of_shares_available, number_of_shares_sold ) "
+ + "VALUES ( ?, ?, ? , ? ,? , ?)");
+ updateStock.setString(1, t.getStockId());
+ updateStock.setString(2, t.getCompanyName());
+ updateStock.setDouble(3, t.getPriceCurrent());
+ updateStock.setDouble(4, t.getPriceClosing());
+ updateStock.setLong(5, t.getNumberOfSharesAvailable());
+ updateStock.setLong(6, t.getNumberOfSharesSold());
+ int updateCount = updateStock.executeUpdate();
+ result = updateCount;
+ }
+ catch (Exception ex)
+ {
+ System.err.println(ex.toString());
+ throw ex;
+ }
+ finally
+ {
+ try
+ {
+ new UtilitiesDatabase().closeDatabaseConnection(con);
+
+ if (updateStock != null)
+ {
+ updateStock.close();
+ }
+ }
+ catch (SQLException e)
+ {
+ System.err.println(e.toString());
+ throw e;
+ }
+ }
+
+ }
+
+
diff --git a/Semester 3/Assignments/MP3-ajax-threads-patterns/instructions.png b/Semester 3/Assignments/MP3-ajax-threads-patterns/instructions.png
new file mode 100644
index 0000000..a1a8a9b
Binary files /dev/null and b/Semester 3/Assignments/MP3-ajax-threads-patterns/instructions.png differ
diff --git a/Semester 3/Assignments/MP3-ajax-threads-patterns/nyse.sql b/Semester 3/Assignments/MP3-ajax-threads-patterns/nyse.sql
new file mode 100644
index 0000000..3ff7325
--- /dev/null
+++ b/Semester 3/Assignments/MP3-ajax-threads-patterns/nyse.sql
@@ -0,0 +1,106 @@
+-- phpMyAdmin SQL Dump
+-- version 5.2.0
+-- https://www.phpmyadmin.net/
+--
+-- Host: localhost:8889
+-- Generation Time: Feb 20, 2024 at 06:27 PM
+-- Server version: 5.7.39
+-- PHP Version: 7.4.33
+
+SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
+START TRANSACTION;
+SET time_zone = "+00:00";
+
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8mb4 */;
+
+--
+-- Database: `nyse`
+--
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `stock`
+--
+
+CREATE TABLE `stock` (
+ `stock_id` varchar(4) NOT NULL,
+ `company_name` varchar(100) NOT NULL,
+ `price_current` double NOT NULL,
+ `price_closing` double NOT NULL,
+ `number_of_shares_available` bigint(20) NOT NULL,
+ `number_of_shares_sold` bigint(20) NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `stock`
+--
+
+INSERT INTO `stock` (`stock_id`, `company_name`, `price_current`, `price_closing`, `number_of_shares_available`, `number_of_shares_sold`) VALUES
+('PLCE', 'Children\'s Place, Inc.', 14.515, 13.515, 10000000, 5000000);
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `stock_holder`
+--
+
+CREATE TABLE `stock_holder` (
+ `stock_holder_id` int(11) NOT NULL,
+ `name` varchar(50) NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `transactions`
+--
+
+CREATE TABLE `transactions` (
+ `stock_holder_id` int(11) NOT NULL,
+ `stock_id` varchar(4) NOT NULL,
+ `qty` int(11) NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Indexes for dumped tables
+--
+
+--
+-- Indexes for table `stock`
+--
+ALTER TABLE `stock`
+ ADD PRIMARY KEY (`stock_id`);
+
+--
+-- Indexes for table `stock_holder`
+--
+ALTER TABLE `stock_holder`
+ ADD PRIMARY KEY (`stock_holder_id`);
+
+--
+-- Indexes for table `transactions`
+--
+ALTER TABLE `transactions`
+ ADD PRIMARY KEY (`stock_holder_id`,`stock_id`),
+ ADD KEY `stock_id` (`stock_id`);
+
+--
+-- Constraints for dumped tables
+--
+
+--
+-- Constraints for table `transactions`
+--
+ALTER TABLE `transactions`
+ ADD CONSTRAINT `transactions_ibfk_1` FOREIGN KEY (`stock_id`) REFERENCES `stock` (`stock_id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ ADD CONSTRAINT `transactions_ibfk_2` FOREIGN KEY (`stock_holder_id`) REFERENCES `stock_holder` (`stock_holder_id`) ON DELETE CASCADE ON UPDATE CASCADE;
+COMMIT;
+
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
diff --git a/Semester 3/Assignments/MaxTask/src/main/java/edu/slcc/asdv/caleb/maxtask/ParallelMax$MaxTask.class b/Semester 3/Assignments/MaxTask/src/main/java/edu/slcc/asdv/caleb/maxtask/ParallelMax$MaxTask.class
new file mode 100644
index 0000000..2c6dc96
Binary files /dev/null and b/Semester 3/Assignments/MaxTask/src/main/java/edu/slcc/asdv/caleb/maxtask/ParallelMax$MaxTask.class differ
diff --git a/Semester 3/Assignments/MaxTask/src/main/java/edu/slcc/asdv/caleb/maxtask/ParallelMax.class b/Semester 3/Assignments/MaxTask/src/main/java/edu/slcc/asdv/caleb/maxtask/ParallelMax.class
new file mode 100644
index 0000000..9a2ce5d
Binary files /dev/null and b/Semester 3/Assignments/MaxTask/src/main/java/edu/slcc/asdv/caleb/maxtask/ParallelMax.class differ
diff --git a/Semester 3/Assignments/Templates01_CalebFontenot.zip b/Semester 3/Assignments/Templates01_CalebFontenot.zip
new file mode 100644
index 0000000..71da836
Binary files /dev/null and b/Semester 3/Assignments/Templates01_CalebFontenot.zip differ