What is the difference between Specification and Framework with some examples ?
Is JSF a framework or a specification ?
Definitions in one sentence:
A specification is an explicit set of rules that define how to implement a use case.
A framework facilitates and structures the actual implementation of a use case.
Cake analogy:
If a cake recipe is a specification, a cake mix is a framework.
Examples:
Spring is a framework to create web applications (among other things)
JSR-250 is a specification for Java annotations.
JSF is the specification of a framework, of which there are several widely-used implementations
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With