E
E
Eugenue Cesarevich2020-10-28 12:01:19
API
Eugenue Cesarevich, 2020-10-28 12:01:19

How is a specification different from an API?

Understanding Hibernate. It turned out that JPA is a specification, and Hibernate is an ORM that implements it, and Hibernate can work through its own API, and not just through the JPA API.

How is a specification different from regular interfaces/APIs? After all, the specification, as far as I understand, also declares what must be implemented, as well as in the interface contract.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2020-10-28
@cot_shaurma

In this case, it differs in that it is a standard specification. A Hibernate developer can change his API anytime and anywhere, but JPA changes only in the process of many years of coordination by about fifty large companies.

D
Dmitry Roo, 2020-10-28
@xez

JPA - Java Persistence API
Your question is how is API different from API.
The answer is nothing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question