> On Wed, Jul 22, 2009 at 8:40 PM, Dane Laverty<danelave...@gmail.com> wrote: > > Due to the fact that nearly every substantial sample Wicket app is > > Spring-based, I imagine that there's something awesome about using Spring. > > In fact, Wicket is what has finally gotten me to start learning Spring. > > > > I think I understand the basics of dependency injection -- configure your > > objects in xml files and then inject them into your classes -- but I'm still > > not clear on the advantage of it. I've read quite a ways into "Spring in > > Action", and the author seems to assume that the reader will automatically > > see why xml-based dependency injection is great thing. I must just be > > missing something here. What I love about Wicket is being free from xml > > files. Can anyone give me a concise explanation of how the advantages of > > Spring are worth introducing a new layer into my applications? > > > > Dane
Personally, I have found Spring to be very beneficial and pretty easy to learn. I really don't mind xml and as a framework it does offer a lot of nice features that are really easy to tie into your application. Spring has very well written documentation that I found very easy to follow. I really like the message driven beans, helper classes for stuff like Hibernate and IBatis, Email is SUPER easy, Cron scheduling is cake and if you need MVC, theirs is well written and easy to use. Aceigi integration with Spring is very nice - switching http/https is easy and you can apply very fine grained access control (though these docs aren't very fun to read.) I'm new to Wicket, but we've used Spring to configure our service layer and made use of annotations so that our XML file isn't all that big. You don't need to use Spring, but once you start to use it, you may find at least some features are really cool. Russ _________________________________________________________________ Windows Live™ SkyDrive™: Store, access, and share your photos. See how. http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009