Go to file
Rossen Stoyanchev db596d23de Fix deadlock issue in DeferredResult
Previously DeferredResult locked around the setting of the result
including handling up to the part of submitting a dispatch. This
can cause a deadlock if a timeout occurs at the same time since
the Tomcat timeout thread has its own locking that permits only
one thread to do timeout or dispatch processing.

The fix reduces the locking to cover only the attempt to set the
DeferredResult but not the dispatching.

Issue: SPR-10485
2013-05-14 17:01:46 -04:00
.settings/gradle
buildSrc/src/main Consistent use of <pre class="code"> 2013-05-07 21:31:26 +02:00
gradle Update to Gradle 1.6 2013-05-14 12:24:00 -05:00
spring-aop/src Polishing 2013-05-14 21:20:24 +02:00
spring-aspects Update to Gradle 1.6 2013-05-14 12:24:00 -05:00
spring-beans/src Polishing 2013-05-14 21:20:24 +02:00
spring-context Clarified that CronTrigger never schedules overlapping executions 2013-05-14 21:16:04 +02:00
spring-context-support/src Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-core/src GenericTypeResolver defensively calls Class.getGenericSuperclass() and consistently uses Class<?> 2013-05-14 16:02:52 +02:00
spring-expression Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-instrument/src Update Apache license headers for affected sources 2012-12-28 23:09:31 +01:00
spring-instrument-tomcat/src Update Apache license headers for affected sources 2012-12-28 23:09:31 +01:00
spring-jdbc/src Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-jms/src Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-orm/src Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-orm-hibernate4/src Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-oxm Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-test Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-test-mvc/src Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-tx/src Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-web/src Fix deadlock issue in DeferredResult 2013-05-14 17:01:46 -04:00
spring-webmvc/src Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-webmvc-portlet/src Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-webmvc-tiles3/src Add @Override to remaining source files 2013-05-13 17:04:56 -05:00
spring-websocket/src Add Javadoc 2013-05-14 16:41:47 -04:00
src Fixed MockMvc example code 2013-05-07 21:38:45 +02:00
.gitignore Fix test for daylight savings glitch 2013-03-10 10:03:15 -07:00
CONTRIBUTING.md Update example years to 2013 in CONTRIBUTING.md 2013-01-29 15:39:37 -08:00
README.md Update the README to use JDK1.8 b88 2013-05-14 08:54:25 -05:00
build.gradle Upgrade spring-websocket to Jetty 9.0.3 2013-05-14 14:30:55 -04:00
gradle.properties Fix build version 2013-05-07 08:19:03 -04:00
gradlew Upgrade to Gradle 1.3 2012-11-28 09:15:52 -08:00
gradlew.bat Correct typo in GRADLE_OPTS for Windows 2012-11-02 11:40:24 -07:00
import-into-eclipse.bat Create import-into-eclipse.bat for Windows users 2012-11-05 12:21:42 -08:00
import-into-eclipse.sh
import-into-idea.md Skip creation of IDEA metadata for spring-aspects 2013-01-03 19:19:24 +01:00
settings.gradle Add spring-websocket module 2013-04-15 11:03:23 -04:00

README.md

Spring Framework

The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform. A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

The framework also serves as the foundation for Spring Integration, Spring Batch and the rest of the Spring family of projects. Browse the repositories under the SpringSource organization on GitHub for a full list.

Downloading artifacts

See downloading Spring artifacts for Maven repository information. Unable to use Maven or other transitive dependency management tools? See building a distribution with dependencies.

Documentation

See the current Javadoc and reference docs.

Getting support

Check out the Spring forums and the spring and spring-mvc tags on Stack Overflow. Commercial support is available too.

Issue Tracking

Report issues via the Spring Framework JIRA. Understand our issue management process by reading about the lifecycle of an issue. Think you've found a bug? Please consider submitting a reproduction project via the spring-framework-issues GitHub repository. The readme there provides simple step-by-step instructions.

Building from source

The Spring Framework uses a Gradle-based build system. In the instructions below, ./gradlew is invoked from the root of the source tree and serves as a cross-platform, self-contained bootstrap mechanism for the build.

prerequisites

Git and Early Access build of OpenJDK 1.8 build 88.

check out sources

git clone git://github.com/SpringSource/spring-framework.git

compile and test, build all jars, distribution zips and docs

./gradlew build

install all spring-* jars into your local Maven cache

./gradlew install

import sources into your IDE

Run ./import-into-eclipse.sh or read import-into-idea.md as appropriate.

... and discover more commands with ./gradlew tasks. See also the Gradle build and release FAQ.

Contributing

Pull requests are welcome; see the contributor guidelines for details.

Staying in touch

Follow @springframework and its team members on Twitter. In-depth articles can be found at the SpringSource team blog, and releases are announced via our news feed.

License

The Spring Framework is released under version 2.0 of the Apache License.