I am first time going through Generic DAO and i dont understand why there are so mant DAO interfaces and abstrac classes..
For eg, I have GenericDAO interface <----implements Abstract class JPAGenericDAO
My DAO Interface IProjectDAO--->extending GenericDAO interface.
My DAO class ProjectDAO --> implements IProjectDAO(which is ok,my interfact) but also extends abstract class JPAGenericDAO(which is already implmenting Generic DAO interface)
Lets say -JPAGenericDAO has extra pagination support,nativequery support so i need my DAO Impl to extend it
But My DAO interface IProjectDAO was nt required to extend it then .
Is nt it redundancy?
I am a beginnner so i might be loosing osme points or concepts.
If there is any tutorial on internet that explains all these things, I would be glad.