• Post Reply Bookmark Topic Watch Topic
  • New Topic

what is a framework, eg Spring ?  RSS feed

 
Rahul Sudip Bose
Ranch Hand
Posts: 637
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is a framework ? Why is it needed ?
Can someone give me a simple description of what spring is and how is it related to java development ?

Wikipedia says :
"the Spring Framework does not impose any specific programming model"
What does that mean ?

Also, is bear bibeault's frontman something like spring ?
 
Campbell Ritchie
Marshal
Posts: 56598
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A framework is a set of classes, interfaces, etc, which are designed to work together. Look at the classes in the Collections Framework.

I'll let Bear answer about the other questions.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose that you're going to build a house. Probably the first thing you would do is put some wooden poles in the ground and build a frame that determines the basic shape of the house. Then you would fill in the frame by building walls, windows, etc. around the frame.

A software framework is much like that. It is a set of classes that provides a basic structure for your application. You fill in the parts to make it a complete application.

I don't know Frontman very well, but I think it's a framework for web applications. Spring also has something like that (Spring MVC) but Spring is much bigger than that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!