Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-platform-dev] [jakartaee-spec-project-leads] Jakarta EE common functionality

I think the common utilities can be placed in a single spec, e.g. Common Annotations. I have the following thoughts/questions.
1. I think these common utilities should be domain independent. In other words, I don't think we lift some security APIs in this common space so that another spec such as REST can use it.
2. This common spec should be properly owned by an active body - e.g. Jakarta platform spec team to actively release this spec. It should have a more frequent release cycle. More committers should be added to help with the release etc.
3. Test effort: how to ensure all APIs/SPIs are properly tested? How to track which specs use a particular APIs? We should retire some APIs if no specs use it.
My 2cents.
Emily

On Mon, Sep 13, 2021 at 10:18 AM Dmitry Kornilov <dmitry.kornilov@xxxxxxxxxx> wrote:

Hi,

 

On the last platform meeting we touched a topic of a common functionality across different specifications in Jakarta EE.  Currently specifications are not using much shared code. As the result, some functionality is implemented differently in different specifications which makes the platform APIs inconsistent. We've discussed the CDI object model API which can be used in other specifications such as JSON Binding without adding a hard dependency to CDI. Servlet team also said that they were planning to add a similar API to their spec. Another example is generic type holder object which is used in CDI, JSON-B and maybe some other specifications. It needs to be resolved at the platform level and there are many ways how it can be done. We can create additional specifications, move shared code to a separate repository and release it as part of the platform project, or move code to Jakarta Annotations which is de-facto only one specifications containing some shared code.  There could be more options.

 

I would like to initiate a community discussion around this topic. Please post your ideas to this thread. I am planning to create a meeting when there are enough ideas for discussion, possibly next week.

 

Thanks,

Dmitry

_______________________________________________
jakartaee-spec-project-leads mailing list
jakartaee-spec-project-leads@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jakartaee-spec-project-leads


--
Thanks
Emily


Back to the top