<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Hi;<br><br>In today, as far as I understand from the XML chapter of the specification , there is no support for the primitive/wrapper injection into the constructor parameter via XML decleration like this. <br><br>&lt;myapp : BeanTest&gt;<br>&nbsp;&nbsp;&nbsp; &lt;lang:Integer&gt;42&lt;/lang:Integer&gt;<br>&lt;/myapp:BeanTest&gt;<br><br>for bean class<br><br>class BeanTest<br>{<br>&nbsp;&nbsp;&nbsp; private int param;<br><br>&nbsp;&nbsp;&nbsp;  public BeanTest(int param)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  this.param = param;<br>&nbsp;&nbsp;&nbsp; }<br>}<br><br>For example, when the bean is instantiated by the container, it injects the *param* parameter as 42. Currently there is only way to the this via @Initializer method.<br><br>I think this is important, because lots of old
 codes may be benefited from the webbeans without touching their codes. <br><br><br>/Gurkan<br><br></div></div><br>

      </body></html>