background preloader

Spring

Facebook Twitter

Announcing Spring Framework 4.0 GA Release. The Spring Framework re-invented enterprise Java in the last decade, becoming the dominant programming model in enterprise Java.

Announcing Spring Framework 4.0 GA Release

Today we are releasing Spring Framework 4.0, a brand new major version of Spring that keeps Spring at the cutting edge of modern Java development. Together with the rest of the upcoming Spring IO Platform, Spring Framework 4.0 is positioned to empower the next decade of JVM based innovation, responding to, and setting trends in Developer Productivity, Big Data, Cloud, REST, and Micro Service Architecture. Spring Framework 4.0 works beautifully with Java 8 and also allows applications to be written partially or entirely in Groovy, a concise dynamic language on the JVM. Spring Framework 4.0 also provides the foundation for new advances in the Spring IO platform such as Spring Boot. Spring Boot nearly eliminates initial configuration work altogether. A major goal of Spring IO is to make Java a leader in developer productivity via components like Spring Boot. Dagger. Introduction The best classes in any application are the ones that do stuff: the BarcodeDecoder, the KoopaPhysicsEngine, and the AudioStreamer.

Dagger

These classes have dependencies; perhaps a BarcodeCameraFinder, DefaultPhysicsEngine, and an HttpStreamer. To contrast, the worst classes in any application are the ones that take up space without doing much at all: the BarcodeDecoderFactory, the CameraServiceLoader, and the MutableContextWrapper. These classes are the clumsy duct tape that wires the interesting stuff together. Dagger is a replacement for these FactoryFactory classes. By building on standard javax.inject annotations (JSR-330), each class is easy to test. Dependency injection isn't just for testing. For more information, watch an introductory talk by Jesse Wilson at QCon 2012. Using Dagger We'll demonstrate dependency injection and Dagger by building a coffee maker. Declaring Dependencies Dagger constructs instances of your application classes and satisfies their dependencies. Documentation. Spring Framework Reference Documentation. Part V. The Web. This part of the reference documentation covers the Spring Framework's support for the presentation tier (and specifically web-based presentation tiers).

Part V. The Web

The Spring Framework's own web framework, Spring Web MVC, is covered in the first couple of chapters. A number of the remaining chapters in this part of the reference documentation are concerned with the Spring Framework's integration with other web technologies, such as Struts and JSF (to name but two). This section concludes with coverage of Spring's MVC portlet framework. Spring Projects. From configuration to security, web apps to big data – whatever the infrastructure needs of your application may be, there is a Spring Project to help you build it.

Spring Projects

Start small and use just what you need – Spring is modular by design. Spring IO Platform Provides a cohesive, versioned platform for building modern applications. It is a modular, enterprise-grade distribution that delivers a curated set of dependencies. Spring Boot Takes an opinionated view of building Spring applications and gets you up and running as quickly as possible. Spring Framework Provides core support for dependency injection, transaction management, web apps, data access, messaging and more. Spring XD Simplifies the development of big data applications by addressing ingestion, analytics, batch jobs and data export.