--
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/4e79d06f-a538-463a-9b68-5745e359e912%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/CA%2BfW9O427YpJ9Z5bQWHJdVLZrTaVpmYGYogTmuVv1Y%2BNTXi9hw%40mail.gmail.com.
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/CAP7YuART2tLowmQTG04D_Xng7_zwXksq%2BPrJic3OvZGLvr44OA%40mail.gmail.com.
On 6 Feb 2017, at 17:32, Martijn Verburg <martijn...@gmail.com> wrote:
Cheers,
Martijn
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/4e79d06f-a538-463a-9b68-5745e359e912%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.
Cheers,
Martijn
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/4e79d06f-a538-463a-9b68-5745e359e912%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/f333db70-e454-4bd2-9b14-e6c13e48ab39%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
Werner
Werner
Michael,
Thanks for bringing up this topic. I mentioned the need to include transactional support a long time ago, when MicroProfile was at its very beginning, and it is nice to finally see some discussion happening around the subject.
Personally, I cannot conceive how the "uServices community" could be "rabidly anti transactions" as per Martijn's remark. Once RDBMS are used, [ACID] transactions need to be taken into consideration every time. Actually, every single architect/developer/stakeholder will need to at least think about ACID at some point, and this has nothing to do with special scenarios from the enterprise or banking contexts, but rather with common requirements that will show up in many domain models.
At the very least, I think that support for the semantics of @javax.transaction.Transactional should be added to the specification by all means. I think it is very surprising that concerns such as Fault Tolerance can be so far ahead of basic support for [ACID] Transactions in the specification.
Regards,
--
You received this message because you are subscribed to the Google Groups "Eclipse 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/2b6eb4fa-d30d-468c-9293-55c5562f365e%40googlegroups.com.
Michael,Very nice, and glad to see Narayana working on something like this. Hopefully this implies it can stay standalone (e.g. not directly in swarm).Ideally all source files would have a common license header. https://github.com/eclipse/microprofile-jwt-auth/blob/master/spec/src/main/asciidoc/license-alv2.asciidoc can be used as an example.One confusing thing from reading through the annotations, you mention that they're primarily for JAX-RS resources. However, they're defined as CDI interceptors. Should they just work on any CDI beans?
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/ee88cd09-0e3e-40a1-8b00-1281fd35768a%40googlegroups.com.
Michael,Very nice, and glad to see Narayana working on something like this. Hopefully this implies it can stay standalone (e.g. not directly in swarm).
Ideally all source files would have a common license header. https://github.com/eclipse/microprofile-jwt-auth/blob/master/spec/src/main/asciidoc/license-alv2.asciidoc can be used as an example.
One confusing thing from reading through the annotations, you mention that they're primarily for JAX-RS resources. However, they're defined as CDI interceptors. Should they just work on any CDI beans?
Also, we don't currently require JAX-B in MicroProfile. Does it make sense to use JSON instead?
Thanks for you input John:On Friday, 20 October 2017 03:36:42 UTC+1, John D. Ament wrote:Michael,Very nice, and glad to see Narayana working on something like this. Hopefully this implies it can stay standalone (e.g. not directly in swarm).The reference implementation needs Swarm or WildFly since the prerequisites are the narayana transaction manager plus a JAX-RS implementation. That said, the specification must be implementable inside any microprofile container.
Ideally all source files would have a common license header. https://github.com/eclipse/microprofile-jwt-auth/blob/master/spec/src/main/asciidoc/license-alv2.asciidoc can be used as an example.After getting agreement from all existing contributors I have replaced the copyright with the Eclipse EDL (https://www.eclipse.org/org/documents/edl-v10.php) (but note that I haven't raised the PR on the sandbox repo yet).One confusing thing from reading through the annotations, you mention that they're primarily for JAX-RS resources. However, they're defined as CDI interceptors. Should they just work on any CDI beans?The intention was for the spec to only work with JAX-RS resources. The reason for requiring JAX-RS for LRA participants is so that the implementation can automatically register the participant with the LRA coordinator via JAX-RS endpoints. Are you suggesting that we broaden the spec to allow the annotations on any CDI bean? If so then I could investigate removing the restriction (to JAX-RS) and leave it up to the spec implementation to decide how to fulfil the requirements of the model.
Also, we don't currently require JAX-B in MicroProfile. Does it make sense to use JSON instead?Can you indicate where I refer to JAX-B (the only place in the spec where I refer to JSON is in the examples where I use @Produces(MediaType.APPLICATION_JSON)?
Hi Michael,
On Thursday, January 4, 2018 at 12:34:00 PM UTC-5, mmus...@redhat.com wrote:Thanks for you input John:On Friday, 20 October 2017 03:36:42 UTC+1, John D. Ament wrote:Michael,Very nice, and glad to see Narayana working on something like this. Hopefully this implies it can stay standalone (e.g. not directly in swarm).The reference implementation needs Swarm or WildFly since the prerequisites are the narayana transaction manager plus a JAX-RS implementation. That said, the specification must be implementable inside any microprofile container.Last I recall, Naryana has a native CDI extension, right? So that it can run outside of a container?
Ideally all source files would have a common license header. https://github.com/eclipse/microprofile-jwt-auth/blob/master/spec/src/main/asciidoc/license-alv2.asciidoc can be used as an example.After getting agreement from all existing contributors I have replaced the copyright with the Eclipse EDL (https://www.eclipse.org/org/documents/edl-v10.php) (but note that I haven't raised the PR on the sandbox repo yet).One confusing thing from reading through the annotations, you mention that they're primarily for JAX-RS resources. However, they're defined as CDI interceptors. Should they just work on any CDI beans?The intention was for the spec to only work with JAX-RS resources. The reason for requiring JAX-RS for LRA participants is so that the implementation can automatically register the participant with the LRA coordinator via JAX-RS endpoints. Are you suggesting that we broaden the spec to allow the annotations on any CDI bean? If so then I could investigate removing the restriction (to JAX-RS) and leave it up to the spec implementation to decide how to fulfil the requirements of the model.I'm referring to https://github.com/jbosstm/microprofile-sandbox/blob/9bc84b2a878765880d5bf9348d6b95906f0c1861/proposals/0009-LRA/lra-annotations/src/main/java/org/eclipse/microprofile/lra/annotation/Compensate.java (and other classes of similar structure) which is a CDI interceptor. There would be nothing blocking its use in other CDI beans.If the goal is JAX-RS only, then we should define a JAX-RS interceptor behavior instead.
Also, we don't currently require JAX-B in MicroProfile. Does it make sense to use JSON instead?Can you indicate where I refer to JAX-B (the only place in the spec where I refer to JSON is in the examples where I use @Produces(MediaType.APPLICATION_JSON)?
Hi Michael,
What's the scope of this effort from a MicroProfile perspective? When I started to read your README, I got the impression that not only are you interested in providing CDI annotations and a Java API, but also provide interop with other languages? MicroProfile has been focused on supporting Java, so I'm wondering if this proposal is going beyond that. I'm also curious on whether you think the whole proposal would be required to be compliant? Or, are there optional aspects of the proposal?
Re: John's comments about Apache licensing in the headers... MicroProfile is an Apache licensed project. So, if we go forward with this proposal, we would need all of the source to be Apache licensed, not EPL or EDL.
To be consistent with the rest of the projects, I would also recommend the use of asciidoc instead of markdown for the README.
I also made a couple of minor updates in the README due to missing reference hashmarks...
--
You received this message because you are subscribed to the Google Groups "Eclipse 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/b75fd8a4-33aa-48a1-82fb-da700bcd8ab2%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Eclipse 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/0203f888-4706-491f-bfd7-aee6e3918a7c%40googlegroups.com.
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.
One of the challenges with participant registration in any distributed transaction model is how the (distributed) set of participants get access to the state they require to perform any action at the end of a transaction. They can't localize the state because that constrains clustering so that leaves key-based storage (where the key might be related to some combination of transaction id and participant id), at which point there needs to be specification details for interoperation purposes during the completion of the transaction.
The model in the proposed spec for distributing context to services that add compensators makes sense at a high level - its a well-used model (**). But there's an awful lot of detail that would be required to make this more generally implementable than just the existing JBoss LRA implementation.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/b1ec0370-fff0-4859-bf8f-44f9bfe32af8%40googlegroups.com.
On Friday, 5 January 2018 14:45:04 UTC, Ian Robinson wrote:One of the challenges with participant registration in any distributed transaction model is how the (distributed) set of participants get access to the state they require to perform any action at the end of a transaction. They can't localize the state because that constrains clustering so that leaves key-based storage (where the key might be related to some combination of transaction id and participant id), at which point there needs to be specification details for interoperation purposes during the completion of the transaction.Participant registration includes the possibility to also register arbitrary data with the coordinator. At LRA close/cancel time the coordinator will include this data in the request to the participant to complete/compensate. I may have misunderstood your point but this mechanism means that participants do not need to localize state and the endpoints do not need to be stateful.
The model in the proposed spec for distributing context to services that add compensators makes sense at a high level - its a well-used model (**). But there's an awful lot of detail that would be required to make this more generally implementable than just the existing JBoss LRA implementation.Could you elaborate on which detail we are missing and which aspects we have underspecified.
--
You received this message because you are subscribed to the Google Groups "Eclipse 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/cbee1d87-5271-403e-80d6-a6c7ec98e2c4%40googlegroups.com.
Tom,I think it's a fair assessment that we can move to the next step.Let's say if there hasn't been a reasonable objection to the proposal by Tuesday 20th that it can move to the next step?Ken
On Fri, Mar 16, 2018 at 10:11 AM, Tom Jenkinson <tom.je...@redhat.com> wrote:
I would like to mention that Mike raised https://github.com/eclipse/microprofile-sandbox/pull/9 which was recently merged and should address the community feedback we have had.--I believe we are ready to move to the next step from https://wiki.eclipse.org/MicroProfile/FeatureInit if we have consensus?
On Friday, February 3, 2017 at 4:03:29 PM UTC, Michael Musgrove wrote:Our discussions on this group have touched upon the role that transactions may play in the MicroProfile. In traditional enterprise software it is commonly accepted that there exists a set of applications which are required to provide some degree of transactional guarantee - it has also been well argued that there exists a class of microservices which have a need to provide similar functionality (http://jbossts.blogspot.co.uk/2015/04/microservices-and-transactions-update.html). Until we define a proposed method for addressing these needs there is a likelihood that users will need to develop ad hoc approaches which may then leave them open to suffer unexpected data integrity issues if they do not address the myriad complex corner cases.I would therefore like to kickstart a thread to get feedback on what the community expects to see in a proposal for adding transactions to the MicroProfile. When developing this proposal I think we should be open to the possibility that the best model to add transaction support for microservices on may not be a classic JTA model but may be based on one of the extended transaction models.
You received this message because you are subscribed to the Google Groups "Eclipse 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.