<br><div class="gmail_quote">On Sun, Dec 21, 2008 at 1:12 AM, Gavin King <span dir="ltr">&lt;<a href="mailto:gavin@hibernate.org">gavin@hibernate.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I would like to open up a discussion about the XML format defined in chapter 10.<br>
...<br>
I would like to get everyone&#39;s thoughts on this issue:<br>
<br>
Do you like the existing format?<br>
</blockquote><div><br>Yes, very much so.&nbsp; I think it will be a huge win to have typesafe xml configuration, and I will be very sad if this feature gets dropped.<br>&nbsp;<br>In addition, web beans is very type-driven, so just about any time I want do anything in XML, I&#39;m going to be dealing with classes, not strings.&nbsp; So, if I have to specify e.g. binding types by the full &quot;org.ccci.etimesheet.annotations.LoggedIn&quot; everywhere, I&#39;ll get some messy, repetitive files.&nbsp; I think this isn&#39;t as much of a problem for some of the other specs because they aren&#39;t as type-driven as web beans is.<br>
<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Do you find it confusing? In what way?</blockquote><div><br>I don&#39;t think it&#39;s confusing.&nbsp; It will take a little adjustment adjustment for some people, but I don&#39;t think it&#39;s difficult.&nbsp; And like Gavin said, Seam and Spring do this sort of stuff already, so people have seen this before.<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Have you used this approach in Spring or Seam? If so, how did it compare?</blockquote><div><br>I&#39;ve used this approach in Seam, and I appreciate how it makes the configuration code cleaner and more concise.&nbsp; <br><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
How important is typesafety?</blockquote><div><br>Very important.&nbsp; I&#39;ve been burned too many times by misspelling a class or method in an xml doc.<br>&nbsp;<br><br></div></div>I understand the desire to have consistency between the various types of XML descriptors in EE 6, but typesafety is more important.&nbsp; <br>
<br>Actually, I&#39;d like to have this style of typesafe xml used in other EE descriptors, too.&nbsp; Then we could have typesafety and consistency.&nbsp; :-)<br><br>-Matt Drees<br>