When we write java code we use JPA interfaces as its a java specification So we generally avoid using the third party implementation in Java code.
Please verify this statement JPA is the specification, Hibernate and
EJB 3.0 is the implementation.
Please correct me if this is wrong and please help me to understand this.
Hibernate implements the JPA specification entirely. You do not need any part of the EJB 3.0 library. I would say the correct statement is:
JPA is the specification, hibernate is the implementation.