Does CDI come out of the box with an equivalent of Spring's "Prototype" scope, which means that wherever injection is requested, a new instance of the class is provided?<br><br>Is that what <br><pre class="JAVA">
<span class="java_plain"><a id="d0e1838">@</a></span><span class="java_type"><a id="d0e1838">Inject</a></span><span class="java_plain"><a id="d0e1838"> @</a></span><span class="java_type"><a id="d0e1838">New MyType instance;</a></span></pre>
would be used for?<br><br>Could this be simplified by removing the need for @Inject, and requiring only @New?<br><br>Thanks,<br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br>
<a href="http://scrumshark.com">http://scrumshark.com</a><br>"Keep it Simple"<br>