--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/46d90c85-d3b6-4d1d-aa6a-ad51a7b1d4dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
What's the reasoning for a separate package for CDI APIs?Can't it just be: org.eclipse.microprofile.fault.tolerance?Ken
On Thu, May 18, 2017 at 5:45 PM, 'Emily Jiang' via MicroProfile <microp...@googlegroups.com> wrote:
I would like to propose to a naming convention for cdi-based apis.
In most specs, we have cdi-based apis. So far we have two different flavour e.g.
in Fault Tolerance
org.eclipse.microprofile.fault.tolerance.cdi
in Config
org.eclipse.microprofile.config.inject
I feel it is better to use xx.cdi instead of xx.inject, as not all APIs are to be used with @Inject. Once we reach the general consensus, we will use this naming convention for all other specs if applicable. Thoughts?
Emily
--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/cd28418d-523e-4ba4-8bf8-815e449799c3%40googlegroups.com.
I know Ken isn’t keen on the separation, but I prefer inject or context to cdi because it fits better with the Java EE spec packages precedent. javax.inject, javax.enterprise.inject and javax.enterprise.context, javax.batch.runtime.context and javax.faces.contextAlasdair
On May 18, 2017, at 5:45 PM, 'Emily Jiang' via MicroProfile <microp...@googlegroups.com> wrote:
I would like to propose to a naming convention for cdi-based apis.
In most specs, we have cdi-based apis. So far we have two different flavour e.g.
in Fault Tolerance
org.eclipse.microprofile.fault.tolerance.cdi
in Config
org.eclipse.microprofile.config.inject
I feel it is better to use xx.cdi instead of xx.inject, as not all APIs are to be used with @Inject. Once we reach the general consensus, we will use this naming convention for all other specs if applicable. Thoughts?
Emily--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/46d90c85-d3b6-4d1d-aa6a-ad51a7b1d4dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/FCDFEB34-6141-4297-AD4B-5D69415C14BC%40gmail.com.
I'd be ok with the inject and context package names
I'd be ok with the inject and context package names, where appropriate, thus separating the different parts of CDI APIs into their respective parts.I just wasn't in favor of an arbitrary "cdi" separationKen
On Fri, May 19, 2017 at 10:30 PM, Alasdair Nottingham <alasdair....@gmail.com> wrote:
I know Ken isn’t keen on the separation, but I prefer inject or context to cdi because it fits better with the Java EE spec packages precedent. javax.inject, javax.enterprise.inject and javax.enterprise.context, javax.batch.runtime.context and javax.faces.contextAlasdair
On May 18, 2017, at 5:45 PM, 'Emily Jiang' via MicroProfile <microp...@googlegroups.com> wrote:
I would like to propose to a naming convention for cdi-based apis.
In most specs, we have cdi-based apis. So far we have two different flavour e.g.
in Fault Tolerance
org.eclipse.microprofile.fault.tolerance.cdi
in Config
org.eclipse.microprofile.config.inject
I feel it is better to use xx.cdi instead of xx.inject, as not all APIs are to be used with @Inject. Once we reach the general consensus, we will use this naming convention for all other specs if applicable. Thoughts?
Emily--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/46d90c85-d3b6-4d1d-aa6a-ad51a7b1d4dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/5eb3fe03-76bc-4c33-bb2d-287a4822fff4%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/8404cb26-c165-4817-9219-dc83e5d2a24e%40googlegroups.com.
I think that the advantages you pointed out can be simply aggregated into a single one: It makes it easy to separate the non-CDI API subset and use it if CDI isn't present.
On the other hand, there's a single disadvantage: Complexity, because having 2 packages instead of one may be confusing to users who want to use the CDI-based API.
I'd run a poll about this. It's more a matter of taste and what we want to focus on. I'd personally prefer simplicity and put everything in a single package, because I think that focus in users and easy adoption is more important than focus on spec creators (us) or spec implementors (vendors).
--Ondrej
--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/f1213b66-6b6e-411a-b650-7ed28084be45%40googlegroups.com.
Emily,Personally I don't see the need to separate CDI specific API classes into a separate package.At the end of it all, it's just part of an API for Fault Tolerance, or anything else.If we were talking about an API with a hundred or so classes, then it makes sense to split it out into sub packages, but as Ondrej mentioned I think its simpler to keep it in a single package.Ken
On Sat, May 27, 2017 at 4:50 PM, Ondrej Mihályi <ondrej....@gmail.com> wrote:
Hi Emily,
I think that the advantages you pointed out can be simply aggregated into a single one: It makes it easy to separate the non-CDI API subset and use it if CDI isn't present.
On the other hand, there's a single disadvantage: Complexity, because having 2 packages instead of one may be confusing to users who want to use the CDI-based API.
I'd run a poll about this. It's more a matter of taste and what we want to focus on. I'd personally prefer simplicity and put everything in a single package, because I think that focus in users and easy adoption is more important than focus on spec creators (us) or spec implementors (vendors).
--Ondrej
--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/2daf9dc5-5654-4cbe-93a1-8e676b5df483%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "MicroProfile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/microprofile/3Pdk1gRlVnQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to microprofile+unsubscribe@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/e24781d0-9f11-4d4b-91c2-4a4ee81c764a%40googlegroups.com.