Rod Johnson Discusses Spring 3.0

[url]http://www.infoq.com/interviews/rod_johnson_spring30[/url]

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:

[size=medium][b]1. Spring Expression Language[/b][/size]

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

[size=medium][b]2. Spring MVC[/b][/size]

PathVariable annotation and REST support are introduced in Spring 3.0, so it becomes very easy to expose RESTful interfaces to an application

[size=medium][b]3. Spring Java Configuration[/b][/size]

@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

[size=medium][b]4. meta-annotation[/b][/size]

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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值