CST 363 Week 6 Learning Journal

Weekly Reflection

This week, we learned about database programming. This process involves building applications with SQL and general-purpose languages such as Java. Integrating the two presents two main challenges: syntax gaps and paradigm gaps. To overcome these challenges, three techniques can be used, Embedded SQL, Procedural SQL, and application programming interface (API). APIs are the most commonly used database programming technique since they allow the syntax gap to disappear and reduce the paradigm gaps. 

When data programming with Java, the API Java Database Connectivity (JDBC) is used. This API allows the use of Statements that define and execute SQL queries. Values are set via a ResultSet and a next() method. PreparedStatement allows us to use parameters in SQL statements. This practice was put into use for Lab 17, where we used these interfaces to insert and select data from the student table in the Course database. We also implemented these interfaces using a Web App called Spring Server. We completed code that allowed us to use IntelliJ to insert and update data obtained from the Spring Server and apply it to the database in MySQL.

Comments

Popular posts from this blog

CST 300 - Week 8

CST 300 - Week 5

CST 300 - Week 4