On Tue, 16 Mar 2010 11:01:13 -0300, jaques robert <mondes_englou...@yahoo.fr> wrote:

But my question is why having choose to use a class for configuring the application instead a simple XML file ?

Because XML configuration sucks, at least IMHO. It's way easier to make a mistake in XML than in a Java class, as there is compiler checking a lot of stuff. Even the biggest users of XML configuration, Spring and EJB, are moving away from it.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to