• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

When and why should spring be used?

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For a web application, are following architures good enough?

Struts + POJO + JDBC
or
Struts + POJO + Hibernate

I'm not sure why there is a hyper for Spring. It is just lightwight framework
to replace EJB. If you do not want to use EJB, don't use Spring.
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

If you do not want to use EJB, don't use Spring.


That's where you're wrong. Using Spring as a replacement to a heavy EJB container is one tip of the iceberg. Just try to use Spring's support for JDBC, or for Web development.
 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There should be a Spring sticky on this forum that says:

"Don't know anything about Spring?

Go here: http://www.theserverside.com/tt/articles/article.tss?l=SpringFramework
"
 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hahaha, this types of questions always make me laugh. No one is forced to use any of the frameworks. It's just about what's convenient for you. If you're comfortable using servlets + DAO's who's to say you're doing wrong.
And the customer never looks what's under the hood as long as it does what it should!
The only things in these descisions is conveniency, knowledge of the framework to use. Do you want to dive into a new framework that might make your life easier (but until it does it will eat a lot of your time to learn it)?
In short, nobody can decide for you what to use. Every framework has it's plus and it's negative.
 
Silvio Esser
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ergin Er:
Hahaha, ....

Do you want to dive into a new framework that might make your life easier (but until it does it will eat a lot of your time to learn it)?
....



We were told the same thing that EJB would make your life easier when they came out many years ago...

Everyone knows the fact now ...
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

And the customer never looks what's under the hood as long as it does what it should!


You've got trusty customers ! Mine want to know which technology we are using, and are particularly reluctant to use new things like Spring.
 
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
and sometimes customers demand a particular technology be used.
If you're not comfortable with that technology, either decline to take on such contracts or budget in extra time to get to know it.
 
These are the worst of times and these are the best of times. And this is the best tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic