<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>I found this interesting to say the least.&nbsp;&nbsp;<span style="font-size: 12pt;">In CDI, we use highest priority where the value of the @Priority annotation is compared the higher numeric value is considered higher priority.&nbsp; We followed suite so far in MicroProfile
 specs.&nbsp;&nbsp;</span><span style="font-size: 12pt;">I'm not looking to throw dirt, but wanted to get a general opinion from others on this.&nbsp; The JAX-RS treats the lower numeric value as more important (in mathematical terms, it's being treated as the denominator).</span></p>
<p><br>
</p>
<p></p>
<div>&gt;&nbsp;If two or more providers are candidates&nbsp;<span style="font-size: 12pt;">for a certain task, the one with the highest priority is chosen: the highest priority is defined to be the one&nbsp;</span><span style="font-size: 12pt;">with the lowest value in this
 case. That is, @Priority(1) is higher than @Priority(10).&nbsp;</span></div>
<br>
<p></p>
<p>So I'm wondering, why did CDI use the approach that CDI is using?</p>
<p><br>
</p>
<p>John</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif, Helvetica, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols;">
<p></p>
</div>
</div>
</div>
<hr>
NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this
 message, and destroy all physical and electronic copies. Thank you.
</body>
</html>