Q:

Could I benefit from Spring with BlazeDS

I'm building a small experimental application using BlazeDS AMF, Java and Hibernate, and I was wondering if I could at all benefit from using the Spring Framework?
Since I'm using BlazeDS, that acts as my controller, but I might use something like Aspect Oriented Programming for example for logging.
What other benefits could I get from using Spring with my AMF (Action Message Format) service based RIA?
Thanks.

A:

I think the answer is an emphatic "yes".
Spring is a solid framework that will help you use Hibernate better.  Your application will be layered using the Spring recommended idiom.  You'll have all the benefits of IoC and AOP and solid code.  You'll have a nicely decoupled application when you're done.  If you write Spring "contract first" web services you'll have the user and service tiers nicely delineated.
As I understand Blaze DS + Spring, it's just another servlet that they provide, you configure, and map requests to handlers.  It's very similar to their MVC architecture.  My advice would be to do one thing at a time. Don't take on everything at once.  Use Spring JDBC before tackling Hibernate.  Don't worry about AOP at first.

