File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Spring Framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring Framework" Watch "Spring Framework" New topic
Author

Spring Framework

raj joe
Ranch Hand

Joined: Mar 17, 2005
Posts: 99
Please help me in puting my stake in Spring Framework

I have proposed arhiecture as below
Struts - Session Facade - DAO (JDBC) - DB (Offcourse with some J2EE patterns where applicable)

Can Spring cater to all features of presenation layer as struts?
How is the framework design for middle tier and data tier in spring?
What are all the J2ee patterns used in Spring?
David Harkness
Ranch Hand

Joined: Aug 07, 2003
Posts: 1646
Spring has excellent DAO abstractions for Hibernate, JDBC, SQLMaps, and maybe some others. It provides declarative transaction support that's as feature complete as EJB's and easier to set up. It greatly simplifies building and configuring your service and business objects at startup with dependency injection.

Spring has it's own web MVC framework, but it also supplies abstractions for working with Struts, WebWork, Tapestry, and a few others I think.

With your use of the "Session Facade" pattern, are we to infer that you'll be using session EJBs to wrap/implement your DAOs? If you go with Spring, you can ditch EJBs and stick to straight-up J2EE running in a servlet container.

Good luck on your journey, and welcome to the One True Path.
 
 
subject: Spring Framework