http://www.infoq.com/interviews/rod_johnson_spring30
In this interview, Rod Johnson talks to infoq about spring3.0, the new release of spring framework
The role of spring is to reduce the complexity of application development. Spring takes the complexity that otherwise would complicate your business logic and move that infrastructural complexity inside the framework and make your life as a developer simpler
Rod mentioned some new features of Spring3.0 in the interview:
1. Spring Expression Language
The biggest simplification feature is the introduce of the new Spring Expression Language which is available both in annotations and XML bean definitions. It's now easy to get things like system properties or web application values without the need to recompile your code when something changes, so it is a really nice potential replacement for things like PropertyPlaceholderConfigurer. It's more concise with less code. It increases the power of the annotation driven injection model, it's possible to inject values with an @Value annotation where the value is resolved by an expression without any XML bean definition
2. Spring MVC
PathVariable annotation and REST support are introduced in Spring 3.0, so it becomes very easy to expose RESTful interfaces to an application
3. Spring Java Configuration
@Configuration model is an internal DSL that uses Java code which is annotated to define Spring beans. You can write arbitrary Java code to create Spring beans. It allows inheritance of configuration and is type-safe and re-factoring friendly
4. meta-annotation
You can annotate your own custom annotations with other annotations that are meaningful to Spring. It's what UML would call stereotypes and sort of like inheritance for annotations
分享到:
相关推荐
Beginning Spring 5 discusses how you can build apps with the Spring mindset and what the benefits of that mindset are. Along the way you will learn many aspects of the Spring ecosystem with easy-to-...
Mastering EJB 系列图书, 从1.0, 到2.0 都是EJB图书的经典之作, 深入浅出, 覆盖了EJB编程...- JBoss Workbook that discusses the exercises for each chapter (although the chapters are themselves vendor-agnostic)
this book discusses problems, algorithms, and solutions for processing signals received by array of sensors.The book incorporates the latest results from the field of digital signal processing into a ...
Based on the provided information from the book "C# 3.0 With the .NET Framework 3.5 Unleashed," we can extract several key points and concepts that are essential for understanding the fundamentals of ...
Along with networking's swift development, the network security problem receives the attention day by day. This article in view of the influence network security's primary factor, has related in ...
The book also discusses using Java EE frameworks Kundera and Spring Data with MongoDB. As NoSQL databases are commonly used with the Hadoop ecosystem the book also discusses using MongoDB with Apache...
Along with networking's swift development, the network security problem receives the attention day by day. This article in view of the influence network security's primary factor, has related in ...
This chapter discusses how to install the Oracle software and database. It also describes how to configure additional databases, and how to upgrade and older version of a database to the current ...
(hereinafter referred to as Nongfu Spring) as an example, it discusses the current situation of e-commerce in the fast-moving consumer goods (FMCG) industry, analyzes the issues existing in the ...
Chapter 2 explains the Cartesian coordinate system in 2D and 3D and discusses how the Car- Cartesian coordinate system is used to locate points in space. Chapter 3 discusses examples of coordinate ...
- **Fundamental Types and the CLI**: Section 8.2.1 discusses how fundamental types interact with the CLI. - **Conversions**: Section 8.2.2 explains conversions between different types. - **CLI ...
Chapter 3, Types in Julia, describes the type system and discusses why writing type-stable code is crucial to high performance. Chapter 4, Functions and Macros – Structuring Julia Code for High ...
本论文主要论述了如何使用JAVA语言开发一个音乐网站与分享平台 ,本系统将严格按照软件开发流程进行各个阶段的工作,采用B/S架构,面向对象编程思想进行项目开发。... This paper mainly discusses how to use
- **Getting Ready to Program:** Discusses the setup required to write and run C++ programs. - **A First Program:** Provides a simple example program, typically "Hello, World!" to illustrate the syntax...
This book on Kubernetes, the container cluster manager, discusses all aspects of using Kubernetes in today’s complex big data and enterprise applications, including Docker containers. Starting with ...
Spring Boot (http://projects.spring.io/spring-boot/) Dropwizard (http://www.dropwizard.io/) Hysterix {https://github.com/Netflix/Hystrix} SoapUI (http://www.soapui.org/) Google Guava Core Libraries ...