BTech 451 Project Yijing Wei
Today is focused on Shelley's report. I need to find out what she has done for this project, whether or not she has committed any code and if so, whether or not the code she committed is working. Ana told me that Shelley did not commit any code, so her report is basically her research of this project, and her plan of it, which is still quite useful, since it saves the research time for me.
I made a brief plan for Semester One today and had Ana look at it. Ana told me that the plan is a good start, but I should focus on the main tasks at the moment rather than thinking too much about the additional nice-to-have features. I estimated the time taken for each task, but Ana said some of the tasks may take longer, and I need to go through the source code to find out what exactly needs to be implemented and how long it will take.
Today I looked into the Hibernate Interceptor, which I will be using to establish connections with the database and intercept queries. By looking into that, I have got a better idea of how to establish a connection with the database.
After looking into the Hibernate Interceptor and related tutorials, I made a list of what actually needs to be done to establish the connection to the database, and intercept queries. Steps include extend an empty Interceptor and implement necessary, create POJO (Plain Old Java Object) classes, create mapping files to map the POJO files to the database tables and create Hibernate configuration file.
I had Ana checked my list from yesterday, and she said I do not need to create the POJO classes and mapping files because they are already created, and that is how the TSS system works. She said in my plan the Hibernate configuration file only aims at only one specific database, however, the interceptor that I need to implement should be able to integrate with any database used by different products. It means that I need to do some more research and play around with Hibernate.
Last time Ana told me that I do not need to create the POJO (Plain Old Java Objects) classes and the mapping files, and today she elaborated more to me. There is no need of creating those files, however, I need to think of a way for the DSP to read from them.
Before I do the actual implementation on the DSP, I have decided to make a small application of the Hibernate Interceptor and experiment with it to get a better understanding of how things work.