[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jakartaee-platform-dev] Optional parts of a Spec or a "Bridge"
|
In my opinion, ideally, no spec should strictly require any other spec unless it builds the API on top of another spec’s API (like MVC builds on top of REST API). If some specs are likely to be used with other specs, then they should specify how the specs work together if they are integrated in the same container/app.
In case of Jakarta Data and Persistence, if Data API doesn’t require APIs from Persistence, it should be possible to build an implementation that just passes the Data TCK and not Prrsistence TCK.
If the implementation implements both, then it should pass also the part of the TCK that tests their integration.
a) I wouldn’t force any spec to depend on another spec if their integration is optional and runtimes don’t need to implement both
b) I wouldn’t invest rhe effort into creating a separate bridge spec to cover an integration of 2 specs. It would introduce way too many specs, for each combination of specs that can integrate together
c) Platform or profile specs may cover integration of specs but I would’t rely on that. In practise, this rarely happens because these specs have a different committer team and a different focus. And 2 specs like Data and Persistence can be available in a single runtime which still doesn’t implement full platform or a profile. So it’s better to cover the integration in one or the other spec (in this case I’d say it should be in the Data spec)
Ondro
Maybe CDI EE bits should go to web profile or platform instead of creating a dedicated spec. In this way, the umbrella tcks for Web Profile and Platform are for integration tests.
Then the integration chapter / sub-spec / potential demand on the platform, would be much smaller if:
As alternative to 2, we move all of the Enterprise Beans integration concerns to the Enterprise Beans spec.
Kind regards,
Arjan Tijms
_______________________________________________
jakartaee-platform-dev mailing list
jakartaee-platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev