Project Software Review - prasadtalasila/BITS-Darshini GitHub Wiki
Review Day - 1 (9th March, 2016)
Ideas
Data persistence has dependencies on two packages, namely javax.persistence and org.springframework.data.jpa. Can this be reduced to just one dependency on either javax.persistence or spring?[Answered]
For converting byte sequences from Network Byte Order (BIT_ENDIAN) to local byte order while converting to short or int, should we use any libraries or define our own custom methods similar to htons function in C?[Reviewing]
Move certain classes in util package to appropriate classes. Change their access from public to protected[DONE]
Remove unnecessary packages like - formatter, mvc.services and so on.[DONE]
p4lang java backend**[WIP]**
Review
It is not really possible to decrease the number of dependencies to one. Because we are persisting java objects using a relational database we have to use Java Persistence API (JPA) which is defined in javax.persistence package. See here. Spring Data JPA only helps accessing these persisted entities by avoiding the need to introduce much boilerplate code intermediately.
References -