<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>FYI - more feedback from just another developer that happens to care a great deal about EE.</div><div><br>Begin forwarded message:<br><br></div><blockquote type="cite"><div><b>From:</b> Josh Juneau &lt;<a href="mailto:juneau001@gmail.com">juneau001@gmail.com</a>&gt;<br><b>Date:</b> March 8, 2016 at 7:41:56 AM EST<br><b>To:</b> "<a href="mailto:users@javaee-spec.java.net">users@javaee-spec.java.net</a>" &lt;<a href="mailto:users@javaee-spec.java.net">users@javaee-spec.java.net</a>&gt;<br><b>Subject:</b> <b>[javaee-spec users] Re: CompletableFuture Usage in the Platfom vs CDI</b><br><b>Reply-To:</b> <a href="mailto:users@javaee-spec.java.net">users@javaee-spec.java.net</a><br><br></div></blockquote><blockquote type="cite"><div><div dir="ltr">Reza-<div><br></div><div>I am in agreement with you.&nbsp; I agree that CompleteableFuture seems to make more sense for asynchronous events than CompletionStage.&nbsp; Given that it is widely acceptable throughout the platform, and the naming aligns more closely with asynchronous activity...I think CompleteableFuture would be a more consistent and standardized choice.</div><div><br></div><div>Thanks</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Josh Juneau<br><a href="mailto:juneau001@gmail.com" target="_blank">juneau001@gmail.com</a><br><a href="http://jj-blogger.blogspot.com" target="_blank">http://jj-blogger.blogspot.com</a><br><a href="https://www.apress.com/index.php/author/author/view/id/1866" target="_blank">https://www.apress.com/index.php/author/author/view/id/1866</a><br><br></div></div>
<br><div class="gmail_quote">On Mon, Mar 7, 2016 at 6:40 PM, Reza Rahman <span dir="ltr">&lt;<a href="mailto:reza_rahman@lycos.com" target="_blank">reza_rahman@lycos.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The CDI EG is incorporating the concept of CompletableFuture into asynchronous events. Unfortunately for reasons I really don't see as good they are using it's superinterface CompletionStage instead of CompletableFuture.<br>
<br>
I think this is a big ease-of-use mistake as CompletableFuture is designed to be the end user high level gateway API while CompletionStage is mostly as SPI intended for framework writers.<br>
<br>
Given that the CompletableFuture concept is pretty widely applicable throughout the platform I think there is a need for consistency, oversight and guidance from the platform expert group. Otherwise I fear less than ideal ad-hoc decisions might be made in this case for CDI and possibly others down the line.<br>
<br>
What do you think?</blockquote></div><br></div>
</div></blockquote></body></html>