`

Spring3.0.0 RC1 changelog

    博客分类:
  • JAVA
阅读更多

今天看了一下spring3.0的changlog,发现了很多新的内容,下面列觉一下:

1.支持jsr303,jsr303-- bean validation,是一个从hibernate中分离出来的一个,以后有望添加到jdk1.7中。以后swing和web开发的bean的验证就可以再一个地方进行了,不行也要多层次验证了。

2.支持jsr330,jsr330 -- 是有google的Bob Lee和spring提出的一套,他是针对于java se的一套规范,当前还有一套是jsr299 -- 是有jboss的Gavin king(hibernate/seam的leader)提出的一套针对于java ee的一套规范

3.扩充了BeanFactory的一写功能

4.完善了jpa的支持

当还要有很多其他的内容,下面是详细的内容,可以查看。

 

--------------------------------------------------------------

* upgraded to CGLIB 2.2, AspectJ 1.6.5, Groovy 1.6.3, EHCache 1.6.2, JUnit 4.7, TestNG 5.10
* introduced early support for JSR-330 "javax.inject" annotations (for autowiring)
* introduced early support for JSR-303 Bean Validation (setup and MVC integration)
* added default editors for "java.util.Currency" and "java.util.TimeZone"
* refined PathMatchingResourcePatternResolver's treatment of non-readable directories
* PathMatchingResourcePatternResolver understands VFS resources (i.e. works on JBoss 5.x)
* revised AccessControlContext access from BeanFactory
* AbstractBeanDefinitionParser can deal with null return value as well
* PropertyOverrideConfigurer's "ignoreInvalidKeys" ignores invalid property names as well
* PropertyPlaceholderConfigurer supports "${myKey:myDefaultValue}" defaulting syntax
* BeanFactory's default type conversion falls back to String constructor on target type
* BeanFactory tries to create unknown collection implementation types via default constructor
* BeanFactory supports ObjectFactory as a dependency type for @Autowired and @Value
* BeanFactory supports JSR-330 Provider interface as a dependency type for @Inject
* BeanFactory prefers local primary bean to primary bean in parent factory
* protected @Autowired method can be overridden with non-annotated method to suppress injection
* private @Autowired methods with same signature will be called individually across a hierarchy
* @PostConstruct processed top-down (base class first); @PreDestroy bottom-up (subclass first)
* ConfigurationClassPostProcessor detect @Bean methods on registered plain bean classes as well
* support for default "conversionService" bean in an ApplicationContext
* MBeanServerFactoryBean returns JDK 1.5 platform MBeanServer for agent id "" (empty String)
* changed NamedParameter/SimpleJdbcOperations parameter signatures to accept any Map value type
* refined logging in JMS SingleConnectionFactory and DefaultMessageListenerContainer
* introduced "ui.format" package as an alternative to PropertyEditors for data binding
* @RequestMapping annotation now supported for annotated interfaces (and JDK proxies) as well
* @RequestParam and co support placeholders and expressions in their defaultValue attributes
* @Value expressions supported as MVC handler method arguments as well (against request scope)
* JSR-303 support for validation of @MVC handler method arguments driven by @Valid annotations
* refined response handling for @ExceptionHandler methods
* @ResponseStatus usage in handler methods detected by RedirectView
* all @SessionAttributes get exposed to the model before handler method execution
* @Event/ResourceMapping uniquely mapped to through event/resource id, even across controllers
* MultipartRequest is available as a mixin interface on (Native)WebRequest as well
* removed outdated "cacheJspExpressions" feature from ExpressionEvaluationUtils
* introduced common ErrorHandler strategy, supported by message listener container
* Jpa/JdoTransactionManager passes resolved timeout into Jpa/JdoDialect's beginTransaction
* HibernateJpaDialect applies timeout onto native Hibernate Transaction before begin call
* Spring's Hibernate support is now compatible with Hibernate 3.5 beta 1 as well
* Spring's JPA support is now fully compatible with JPA 2.0 as in EclipseLink 2.0.0.M7
* SpringJUnit4ClassRunner is now compatible with JUnit 4.5, 4.6, and 4.7
* SpringJUnit4ClassRunner once again supports collective timeouts for repeated tests
* deprecated @NotTransactional annotation for test classes in favor of @BeforeTransaction

分享到:
评论

相关推荐

    spring framework reference 3.0.0 RC1

    《Spring Framework 3.0.0 RC1:深入解析与新特性详解》 Spring Framework,作为企业级应用开发中的核心框架之一,自2004年问世以来,一直以其强大的功能、灵活的设计以及对现代软件架构的支持而备受青睐。本文将...

    Spring_Reference_3.0.0 RC1 chm

    Spring 3.0.0 RC1 Reference 使用参考文档

    spring3.0.0相关jar包

    spring3.0.0相关jar包 org.springframework.aop-3.0.0.RELEASE org.springframework.asm-3.0.0.RELEASE org.springframework.aspects-3.0.0.RELEASE org.springframework.beans-3.0.0.RELEASE org.springframework....

    spring-framework-3.0.0.RC3.rar

    《Spring框架3.0.0.RC3:深入解析与应用》 Spring Framework作为Java企业级应用开发的基石,以其强大的IoC(Inversion of Control)容器和AOP(Aspect Oriented Programming)特性赢得了广大开发者的心。3.0.0.RC3...

    spring3.0.0官方JAR包

    Spring 3.0.0是该框架的一个重要版本,引入了许多新特性和改进,旨在提升开发效率和应用程序的可维护性。以下是对Spring 3.0.0版本中核心知识点的详细解释: 1. **依赖注入(DI)与IOC容器**: Spring的核心是控制...

    spring-framework-3.0.0.RC3-with-docs.zip

    《Spring框架3.0.0.RC3深度解析》 Spring框架是Java开发中的核心组件,尤其在企业级应用开发中扮演着至关重要的角色。3.0.0.RC3版本是Spring发展的一个重要里程碑,引入了许多创新特性和优化,为开发者提供了更强大...

    pdfbox-3.0.0-RC1.jar

    pdfbox-3.0.0-RC1 PDFBox是Java实现的PDF文档协作类库,提供PDF文档的创建、处理以及文档内容提取功能,也包含了一些命令行实用工具。

    struts2.1.8.1+hibernate3.5.2+spring3.0.0包整合之spring3.0.0

    本整合主要关注Spring 3.0.0版本,它作为轻量级的IoC(Inversion of Control,控制反转)和AOP(Aspect-Oriented Programming,面向切面编程)容器,提供了丰富的功能和良好的扩展性。 Struts2作为MVC(Model-View-...

    spring源码(3.0.0和3.0.4)

    Spring框架是Java开发中不可或缺的重要组件,其3.0.0和3.0.4版本在功能和性能上都有一定的优化。本压缩包包含了Spring框架3.0.0和3.0.4两个版本的部分源码,对于学习和研究Spring的工作原理及内部机制有着重要的参考...

    aeolis-3.0.0rc1-py3-none-any.whl.zip

    标题中的"aeolis-3.0.0rc1-py3-none-any.whl.zip"是一个软件包文件,这种格式在Python生态系统中非常常见,它属于Python的Wheel(轮子)格式,用于方便安装Python包。Wheel是Python的二进制分发格式,旨在解决Python...

    org.springframework.web-3.0.0.RC3.jar

    《Spring Web框架详解——基于org.springframework.web-3.0.0.RC3.jar》 Spring Web框架是Java Web开发中的重要组成部分,它为构建高效、灵活的Web应用程序提供了强大支持。在本文中,我们将深入探讨Spring Web框架...

    Python库 | BotEXBotBase-3.0.0rc6-py3-none-any.whl

    资源分类:Python库 所属语言:Python 资源全名:BotEXBotBase-3.0.0rc6-py3-none-any.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    FlashDevelop-3.0.0-RC1

    《FlashDevelop 3.0.0 RC1:高效开发Flash IDE的利器》 FlashDevelop,一个备受推崇的开源集成开发环境(IDE),尤其在Flash内容创作领域,它以其高效、轻量级和强大的特性赢得了开发者们的青睐。这次我们关注的是...

    APScheduler-3.0.0rc1-py2.py3-none-any.whl.zip

    这个压缩包文件 "APScheduler-3.0.0rc1-py2.py3-none-any.whl.zip" 包含了 APScheduler 的一个预发布版本 3.0.0rc1,该版本兼容 Python 2 和 Python 3。`whl` 文件是 Python 的 Wheel 格式,这是一种预先编译的二...

    spring security3.1.3 和 spring security3.0.0

    1. **表达式式访问控制**:Spring Security 3.0.0引入了基于Spring Expression Language (SpEL)的访问控制,允许更灵活地定义访问规则,比如`@Secured("hasRole('ROLE_ADMIN')"`。 2. **集成Spring AOP**:安全拦截...

    PyPI 官网下载 | dynaconf-3.0.0rc1-py2.py3-none-any.whl

    《PyPI官网下载的dynaconf-3.0.0rc1-py2.py3-none-any.whl:深入了解Python配置管理库》 在Python的世界里,管理应用程序的配置是一项重要的任务,而`Dynaconf`就是这样一款专为解决此问题而生的库。在本文中,我们...

    spring-framework-3.0.0.M1

    spring-framework-3.0.0.M1 ;spring-framework-3.0.0.M1 ;spring-framework-3.0.0.M1 ;spring-framework-3.0.0.M1

    Python库 | pulp_rpm-client-3.0.0rc1.tar.gz

    "Python库 | pulp_rpm-client-3.0.0rc1.tar.gz" 是一个与Python相关的库,主要用于处理RPM(Red Hat Package Manager)相关的任务。这个库的名称"pulp_rpm-client"暗示它是一个客户端接口,允许开发者与Pulp服务器...

    Struts2.3.7+Spring3.0.0+Hibernate4.0.0整合源码

    本整合源码提供了Struts2.3.7、Spring3.0.0和Hibernate4.0.0的集成示例,帮助开发者理解如何在实际项目中将这三个框架无缝连接。 Struts2是基于Action和拦截器的MVC框架,它通过配置文件或注解定义Action与URL的...

Global site tag (gtag.js) - Google Analytics