AppFuse is configured by default to use Zero Configuration, which means you don't have to use XML or annotations. Just name your classes XXXAction and put them in the package defined in your web.xml.
Matt On Fri, Aug 8, 2008 at 2:44 AM, Martin Homik <[EMAIL PROTECTED]> wrote: > > Dear all, > > I'd like to ask the community whether you have any experience with AppFuse > and Struts2 annotations. > > The AppFuse tutorial introduces only the xml-based declarative architecture. > Also, in the book "Struts2 in Action" the authors use the xml-based approach > for educational reasons, but they expect developers to use annotations. They > say: "... Struts2 developers are ardently moving toward a zero-configuration > system that uses convention over configuration, with annotations serving as > an elegant override mechanism when conventions aren't followed." > > What do you think? Should one favour annotations over xml files? Has Struts2 > matured for using annotations? Personally, I'd like to give it a shot. A > similar experience with AppFuse which I valued pretty much was using JPA > annotations instead of writing Hibernate xml files. > > Cheers, > Martin > -- > View this message in context: > http://www.nabble.com/Experience-with-Struts2-Annotations--tp18888046s2369p18888046.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]