CST363 Week 6
This week has been pretty challenging, but also really rewarding. Working with the team to get this project done wasn’t easy, but I definitely learned a lot along the way. We had to build a system to manage prescriptions, doctors, patients, and pharmacies, and it really pushed me to understand how everything fits together. We used JDBC for connecting to the database, Spring for organizing everything, and Thymeleaf to build the web pages.
Usually, I’ve worked with JPA, Hibernate, and JSF in the past, so doing things with JDBC and Thymeleaf was a bit different for me. It felt more hands-on since I had to write all the SQL queries myself and manage things like transactions and exceptions directly, rather than relying on an ORM like Hibernate to handle a lot of that for me. It was an interesting change, and I liked seeing how things work at a more detailed level. One of the biggest things I learned was how to handle data properly with JDBC.
We spent a lot of time making sure things like RXIDs, patient names, and pharmacy details were validated correctly. If something was wrong, like an invalid pharmacy name or a wrong RXID, the system had to handle it and show helpful messages. It wasn’t just about writing SQL queries, it was about making sure the system responded the right way when things didn’t go as planned.
Spring was a big help in keeping everything organized, especially with managing the database connections using JdbcTemplate. It made the code a lot cleaner and easier to work with.
Comments
Post a Comment