<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>This XML configuration is all about the type-safety and is more powerful than classical Java EE configuration files. So, when using types, &lt;fooBar&gt; is more reosanble to use than &lt;foo-bar&gt; from the Java developer perspective.<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br>Gurkan<br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Gavin King &lt;gavin@hibernate.org&gt;<br><b><span style="font-weight: bold;">To:</span></b> Java Community Process JSR #299 Expert List &lt;JSR-299-EG@jcp.org&gt;; Jim Knutson &lt;knutson@us.ibm.com&gt;; Michael Keith &lt;michael.keith@oracle.com&gt;; Matt Drees &lt;matt.drees@gmail.com&gt;; Scott Ferguson
 &lt;ferg@caucho.com&gt;; WebBeans &lt;webbeans-dev@lists.jboss.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Sunday, December 21, 2008 9:17:57 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [webbeans-dev] Re: XML configuration format<br></font><br>
I blogged it here:<br><br><a href="http://in.relation.to/Bloggers/XMLConfigurationInWebBeans" target="_blank">http://in.relation.to/Bloggers/XMLConfigurationInWebBeans</a><br><br>On Sun, Dec 21, 2008 at 5:12 PM, Gavin King &lt;<a ymailto="mailto:gavin@hibernate.org" href="mailto:gavin@hibernate.org">gavin@hibernate.org</a>&gt; wrote:<br>&gt; I would like to open up a discussion about the XML format defined in chapter 10.<br>&gt;<br>&gt; Mike is concerned that the XML format is different to the style used<br>&gt; in other Java EE specifications, where class/method names are<br>&gt; generally specified as strings in the body of XML elements, and that<br>&gt; the XML format may turn out to be confusing to users.<br>&gt;<br>&gt; On the other hand, the format currently defined by the specification<br>&gt; is typesafe, allowing tooling to provide validation and<br>&gt; auto-completion of all class/method names, and is also less verbose.<br>&gt; It's also
 consistent with the approach used by existing solutions in<br>&gt; the spec (Spring, Seam).<br>&gt;<br>&gt; I've recently discovered that it's possible to write a Java 6<br>&gt; Processor that would generate the XML schema for a package containing<br>&gt; web beans as part of the compilation process. (This is an awesome new<br>&gt; feature of javac, that used to be provided by the APT plugin.)<br>&gt;<br>&gt; One possible path to take would be to use hyphenated names in the XML<br>&gt; (i.e. &lt;foo-bar&gt; instead of &lt;FooBar&gt;) to make the XML more visually<br>&gt; consistent with other EE descriptors.<br>&gt;<br>&gt; I would like to get everyone's thoughts on this issue:<br>&gt;<br>&gt; Do you like the existing format?<br>&gt; Do you find it confusing? In what way?<br>&gt; Have you used this approach in Spring or Seam? If so, how did it compare?<br>&gt; How important is typesafety?<br>&gt;<br>&gt; --<br>&gt; Gavin King<br>&gt; <a
 ymailto="mailto:gavin.king@gmail.com" href="mailto:gavin.king@gmail.com">gavin.king@gmail.com</a><br>&gt; <a href="http://in.relation.to/Bloggers/Gavin" target="_blank">http://in.relation.to/Bloggers/Gavin</a><br>&gt; <a href="http://hibernate.org" target="_blank">http://hibernate.org</a><br>&gt; <a href="http://seamframework.org" target="_blank">http://seamframework.org</a><br>&gt;<br><br><br><br>-- <br>Gavin King<br><a ymailto="mailto:gavin.king@gmail.com" href="mailto:gavin.king@gmail.com">gavin.king@gmail.com</a><br><a href="http://in.relation.to/Bloggers/Gavin" target="_blank">http://in.relation.to/Bloggers/Gavin</a><br><a href="http://hibernate.org" target="_blank">http://hibernate.org</a><br><a href="http://seamframework.org" target="_blank">http://seamframework.org</a><br>_______________________________________________<br>webbeans-dev mailing list<br><a ymailto="mailto:webbeans-dev@lists.jboss.org"
 href="mailto:webbeans-dev@lists.jboss.org">webbeans-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/webbeans-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/webbeans-dev</a><br></div></div></div><br>

      </body></html>