• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring Framework

 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 1646
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic