Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!

_neeraj_kumar_

Greenhorn
+ Follow
since Feb 15, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by _neeraj_kumar_

Have a look at the petclinic example that comes along with Spring. Petclinic absolutely rocks and can teach one a thing or two about not just Spring but also good design patterns. Petclinic also shows how to write junit tests for your DAOs. How to write DAOs in such a way that you could switch from Hibernate to iBatis with minimal changes.
I've read almost 75% of the book. It rocks!!
Try looking at the investment in spring as learning good programming practice. The frameworks might come and go. So one should concentrate on the design patterns used behind the framework. Look at spring source code; it's well written. Code coverage is high. Test cases can teach one a thing or two about how to write good test cases.

Cheers.
Spring framework was long awaited. If I have to pick one reason that's I hate having ActionForms. Not only action forms need to extend a class you also need to have your action form elements as strings. If you don't have the elements as strings you need to put some convoluted logic (refer struts live book) to handle validation.

Secondary hibernate and other O/R persistence tools have become industry ready and struts was developed long before hibernate came. Spring provides nice abstraction and reduces the database access code by 70%.