Today I cam accross following scenario We have a publication house and are in requirement of building a rating system for books. The requirement is like :-
Title Author Subject Critic/Rating ABC Aaaaa Sssssss John-2,Jack-3 DEF Bbbbb S11111 John-4 GHI Ccccc S22222 John-3,Jack-5
Here John and jack are the critics for the books with title ABC,DEF,GHI what would be the best possible implementation for such a table . Note priority would be obtaining ratings easily and connecting them to critic and books easily , also critic may or may not provide rating to the book. XML mapping would help in clarifying better as currently we use that instead of annotations. Also show many pojo's would be needed or are preferred to create
|