How does spring framework help in application development?

A bit confusing! How does the spring framework help in the overall development of the application? I use the django framework and I can quickly explain to the layman how all the parts fit together (Django, Python, templates, packages, etc.) To create a great web application, but when I look at spring, I get a little lost! I am looking for answers, but not limited to the following:

  • Can anyone tell me how they used spring to build applications?
  • Can someone point me to some real world applications made in spring (iread somewhere on linkedin.com runs using spring!
  • Can someone tell me how these things came together (Strut, javascript, glassfish / jboss, apache, etc. and, of course, spring) to create an application?
  • How many separate pieces of software do you need to build your application with spring?
  • How easy is it to build applications using spring framework?

I need gory details :)

Gough

+5
source share
6 answers

There are several Spring projects, but the initial Spring (POJO) project has arisen due to the alleged difficulties of working with J2EE. You will find a number of projects on the SpringSource website that have grown out of this, but instead of being concentrated in one structure, they have taken a more modular approach. For all products they produce, see:

http://www.springsource.org/projects

Q. Can someone tell me how they used Spring to create applications?

Spring , - . (, Javabeans), XML/Annotations. Spring bean . beans XML - .

http://static.springframework.org/spring/docs/2.0.x/reference/beans.html

Q. -, , , Spring (iread - linkedin.com spring!

, Spring. , , .

Q. -, , , (Strut, javascript, glassfish/jboss, apache .. , , spring) ?

Spring, , , , , , . Struts Spring :

http://www.ibm.com/developerworks/web/library/j-sr2.html

Glasshfish/JBoss , Spring, . :

http://static.springframework.org/spring/docs/2.5.x/reference/web-integration.html

Q. spring?

. - Spring MVC + Spring Backend. - Java Swing + Spring backend. Spring ( XML), :

  • JavaBean ( /DTO 's/DAO)

    ExampleBean {

    private AnotherBean beanOne;
    private YetAnotherBean beanTwo;
    private int i;
    
    public ExampleBean(
        AnotherBean anotherBean, YetAnotherBean yetAnotherBean, int i) {
        this.beanOne = anotherBean;
        this.beanTwo = yetAnotherBean;
        this.i = i;
    }
    

    }

  • beans

  • Spring -/ web.xml ..

Spring docs btw... .:

http://static.springframework.org/spring/docs/2.0.x/reference/beans.html

Q. Spring framework?

, , . Spring POJO , . -, ( ), .

, ...

+12
  • - , spring ?

JAR spring CLASSPATH, spring (, ) .

  1. - , spring (iread - linkedin.com spring!

. .

  1. - , (Strut, javascript, glassfish/jboss, apache .. , , spring) ?

Struts - -; JavaScript - , , ; Glassfish/JBOSS/WebLogic/WebSphere/Tomcat/ Spring DM - spring; Apache - - HTTP; spring, - .

  1. spring?

, , , , Spring.

  1. spring framework?

? .

Spring, , , .

+2

Spring - , - . , Spring . . , springsource.org:

http://www.springsource.org/documentation

. , , , .

+1

- Java- (, /update ), grails. - -. , spring , . , .

+1

Struts JavaScript , , , , - .

? - Java, Spring, Struts .., - Java. Java- Web ORM . - , Tomcat, Jetty .., - Java. J2EE, JBoss, Glassfish, , Tomcat, J2EE, , Java Enterprise.

Choosing a structure The choice of structure depends on how you feel about it and how it fits your needs. For example, why are you using Django instead of TurboGears? Some people will tell you that Django sucks while TurboGears stones, etc.

No matter what you do, read your call in the documentation and select one application server and one or more frameworks to create your application.

0
source

All Articles