<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><myapp : BeanTest><br> <lang:Integer>42</lang:Integer><br></myapp:BeanTest><br><br>for bean class<br><br>class BeanTest<br>{<br> private int param;<br><br> public BeanTest(int param)<br> {<br> this.param = param;<br> }<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>