<br><div class="gmail_quote">On Sun, Dec 21, 2008 at 1:12 AM, Gavin King <span dir="ltr"><<a href="mailto:gavin@hibernate.org">gavin@hibernate.org</a>></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's thoughts on this issue:<br>
<br>
Do you like the existing format?<br>
</blockquote><div><br>Yes, very much so. 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> <br>In addition, web beans is very type-driven, so just about any time I want do anything in XML, I'm going to be dealing with classes, not strings. So, if I have to specify e.g. binding types by the full "org.ccci.etimesheet.annotations.LoggedIn" everywhere, I'll get some messy, repetitive files. I think this isn't as much of a problem for some of the other specs because they aren'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't think it's confusing. It will take a little adjustment adjustment for some people, but I don't think it's difficult. And like Gavin said, Seam and Spring do this sort of stuff already, so people have seen this before.<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>
Have you used this approach in Spring or Seam? If so, how did it compare?</blockquote><div><br>I've used this approach in Seam, and I appreciate how it makes the configuration code cleaner and more concise. <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. I've been burned too many times by misspelling a class or method in an xml doc.<br> <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. <br>
<br>Actually, I'd like to have this style of typesafe xml used in other EE descriptors, too. Then we could have typesafety and consistency. :-)<br><br>-Matt Drees<br>