Developpez.com - Rubrique Spring

Le Club des Développeurs et IT Pro

Spring Framework 3.0

Une release candidate 3 est annoncée. La version finale est attendue pour mi-décembre.

Le 2009-11-12 09:50:08, par Hikage, Rédacteur
Mise à jour le 2 Décembre :

Arjen Poutsma a annoncé la sortie d'une release candidate 3 pour Spring Framework 3.0. Celle-ci devrait être la dernière avant la version finale.

Très peu de changement pour celle-ci, principalement des corrections.

Envoyé par Release Note

* prepared for Grails and ROO requirements
* restored compatibility with Apache CXF
* fixed bean definition import via "classpath*:" URLs
* added chaining-capable "add" method to MutablePropertyValues
* constructor arguments can be overridden by name in child bean definitions
* BeanDefinitions return isSingleton()=true by default again, with scope name empty
* init/destroy methods get processed in the order of declaration at each hierarchy level
* fixed lookup of LifecycleProcessor bean in a Spring Dynamic Modules environment
* refined lifecycle processing through introduction of startup/shutdown phases
* fixed transaction synchronization setup with TransactionAwareDataSourceProxy involved
* added support for Hibernate 3.3 RegionFactory cache SPI to LocalSessionFactoryBean
* JSR-303 SpringValidatorAdapter uses field name as first argument (analogous to bind errors)
* replaced DefaultConversionService with ConversionServiceFactory(Bean)
* revised FormatterRegistry interface and FormattingConversionServiceFactoryBean setup
* mvc:annotation-driven exposes default Validator and ConversionService as top-level beans
* mvc:annotation-driven registers applicable HttpMessageConverters by default, if available
* added interceptors support to mvc namespace, for path-based interceptor mappings
Plus d'informations :



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

SpringSource annonce la sortie de la deuxième Spring Framework 3.0, celle ci étant la dernière étape avant la très attendue version finale.
Concernant le contenu, pas de grosse différence avec la RC1, qui était annoncée par SpringSource comme complète au niveau des fonctionnalités.

Quelques modifications intéressantes :
  • Compatibilité complète avec la version finale de la JSR 330 (@Inject)
  • Support de Bean Validation (avec Hibernate Validators)
  • Nouveau namespace pour Spring MVC pour activer la gestion des Controlleurs avec annotations
  • Déprécation du scheduling basé sur les JDK 1.3 Timer
  • Réintroduction du support de Struts 1 en tant que déprécié


Le reste étant principalement des corrections de bugs ou des changements mineurs.

Plus d'informations :

  Discussion forum
2 commentaires
  • tamiii
    Membre actif
    Une date pour la release de la version finale?
  • Hikage
    Rédacteur
    Arjen Poutsma a annoncé la sortie d'une release candidate 3 pour Spring Framework 3.0. Celle-ci devrait être la dernière avant la version finale.

    Très peu de changement pour celle-ci, principalement des corrections.

    Envoyé par Release Note

    * prepared for Grails and ROO requirements
    * restored compatibility with Apache CXF
    * fixed bean definition import via "classpath*:" URLs
    * added chaining-capable "add" method to MutablePropertyValues
    * constructor arguments can be overridden by name in child bean definitions
    * BeanDefinitions return isSingleton()=true by default again, with scope name empty
    * init/destroy methods get processed in the order of declaration at each hierarchy level
    * fixed lookup of LifecycleProcessor bean in a Spring Dynamic Modules environment
    * refined lifecycle processing through introduction of startup/shutdown phases
    * fixed transaction synchronization setup with TransactionAwareDataSourceProxy involved
    * added support for Hibernate 3.3 RegionFactory cache SPI to LocalSessionFactoryBean
    * JSR-303 SpringValidatorAdapter uses field name as first argument (analogous to bind errors)
    * replaced DefaultConversionService with ConversionServiceFactory(Bean)
    * revised FormatterRegistry interface and FormattingConversionServiceFactoryBean setup
    * mvc:annotation-driven exposes default Validator and ConversionService as top-level beans
    * mvc:annotation-driven registers applicable HttpMessageConverters by default, if available
    * added interceptors support to mvc namespace, for path-based interceptor mappings
    Plus d'informations :