The Spring Blog

Engineering
Releases
News and Events

Spring Framework 1.0.2 Released

We are pleased to announce the release of Spring
Framework 1.0.2.



This release introduces a variety of enhancements throughout the
framework, plus some minor bugs fixes.

Among the enhancements in this
release are:


  • New
    "mock" source tree and
    "spring-mock" jar file, containing JNDI
    and Servlet API mocks for usage in applications 


  • CachedIntrospectionResults
    flushes
    the JavaBeans Introspector cache
    for proper garbage collection on shutdown

  • Added
    ObjectFactory interface and
    ObjectFactoryCreatingFactoryBean,
    for non-intrusive creation of prototype beans

  • AbstractXmlApplicationContext
    uses
    PathMatchingResourcePatternResolver for Ant-style config location
    patterns

  • Added
    support for "xxx*" field
    patterns to BindException’s
    "getFieldErrors" and "getFieldError" methods

  • QuartzJobBean
    applies
    SchedulerContext entries as bean properties,
    just like it also does for JobDataMap entries

  • Added
    UserCredentialsDataSourceAdapter, for transparently appying
    username and password to target DataSource calls

  • Added
    RowMapperResultReader, to be
    used instead of a custom
    RowCallbackHandler when mapping rows to objects

  • Added
    AbstractLobStreamingResultSetExtractor and
    AbstractLobCreatingPreparedStatementCallback

  • Reworked
    "imagedb" sample app, with
    a redesigned implementation of
    the DefaultImageDatabase class

  • iBATIS
    SQL Maps 2.0 integration
    classes support per-SqlMapClient
    DataSource and lazy loading of paginated lists

  • DispatcherServlet
    detects
    ViewResolvers by type to allow for
    ViewResolver chaining (respecting order values)

  • added
    "doSubmitAction" template
    method to SimpleFormController, for
    submit actions without caring about ModelAndView

  • AbstractWizardFormController
    optionally supports "_page" request
    parameter, for proper handling of back button usage

  • Added
    support for
    "person.na*"/"person.address.*"-style field
    patterns to BindTag’s "path" attribute

  • Added
    Struts
    DelegatingRequestProcessor and
    DelegatingTilesRequestProcessor as alternatives to
    DelegatingActionProxy

Read more...

Spring Framework 1.0.1 Released

We are pleased to announce the release of Spring
Framework 1.0.1.


This is a bugfix and minor enhancement release;

the most
important fixes and new features are:


  • added
    Struts ActionSupport and
    DispatchActionSupport base classes, for
    easy access to a Spring context

  • added
    Struts ContextLoaderPlugIn and
    DelegatingActionProxy,
    superseding Don Brown’s Spring Struts Plugin

  • reworked
    ComponentControllerSupport
    class for Tiles to be compatible
    with both Struts 1.1 and Struts 1.2

  • fixed
    Hibernate/JTA synchronization
    cleanup in case of Hibernate
    flushing failure on commit

  • added
    support for transaction-scoped
    Hibernate Sessions with plain JTA
    or EJB CMT, without JtaTransactionManager

  • fixed
    JdbcTemplate’s "queryForList"
    to correctly handle a single row
    with a single column as result

  • XmlApplicationContexts
    support file
    patterns as config locations (e.g.
    "/WEB-INF/*-context.xml")

  • SQLErrorCodesFactory
    caches database
    product name to avoid unnecessary
    metadata lookups

  • factored
    out message code resolution
    into MessageCodesResolver
    strategy

  • refined
    internals of the AOP
    framework, for clearer subpackage
    interdependencies

  • refined
    support for array/List/Map
    properties in BeanWrapperImpl

  • refined
    AbstractMessageSource
    internals, for clearer handling of
    fallbacks

Read more...

Spring Framework 1.0 Final Released

We are pleased to announce that Spring
Framework 1.0 final

has just been released.

1. SCOPE





  • the most sophisticated lightweight
    container available today, with various flavors of setter and
    constructor injection

  • AOP interception framework based on
    the AOP Alliance interfaces, integrated with the core container

  • JNDI support classes, allowing for
    easy wiring of Spring-managed beans with JNDI-located objects

  • application context concept,
    providing resource loading and message access abstractions

  • generic transaction management with
    pluggable strategies, supporting declarative and programmatic
    demarcation

  • support for source-level metadata,
    with Commons Attributes as default implementation (e.g. for transaction
    attributes)

  • generic DAO support, providing a
    generic data access exception hierarchy for use with any data access
    strategy

  • JDBC abstraction that simplifies
    resource and error handling, also covering BLOB/CLOB support

  • Hibernate support, providing
    SessionFactory management and transaction-scoped ThreadLocal Sessions

  • support classes for JDO 1.0 and
    iBATIS SQL Maps 1.3/2.0, integrated with Spring’s transaction
    management

  • mail sender abstraction, with
    special support for JavaMail including convenient handling of file
    attachments

  • scheduling support for Quartz and
    Timer, making it easy to invoke methods of Spring-managed beans

  • remoting support for RMI, JAX-RPC
    and Caucho’s Hessian/Burlap, for easy exposure of Spring-managed beans

  • convenience classes for accessing
    and implementing EJBs, both local and remote

  • web application context, for
    loading a Spring application context in a web environment

  • flexible web MVC framework, built
    on strategy interfaces and integrated with various view technologies

Read more...

Spring Framework 1.0 Release Candidate 2 Released

We are pleased to announce that
Spring Framework 1.0 Release Candidate 2
has just been released. RC2 covers all features targeted for 1.0 final,
which should be released soon.




Changes since Release Candidate 1 include:


  • scheduling
    support via Quartz and Timer

  • support for the
    SqlMapClient API of iBATIS SQL Maps 2

  • JdbcTemplate
    convenience methods, taking prepared
    statement arguments as Object array

  • support for
    custom RMI socket factories and
    additional RMI invocation parameters

  • PreferencesPlaceholderConfigurer,
    resolving
    placeholders via J2SE 1.4 Preferences

  • optional "type"
    attribute for "constructor-arg" tag
    in XML bean definitions

  • revised
    BeanFactoryLocator implementations

  • simplified AOP
    Advisor interface hierarchy

  • revised
    DataFieldMaxValueIncrementer implementation
    hierarchy

  • extended mapping
    configuration options in
    LocalSessionFactoryBean

  • metadata support
    uses latest Commons Attributes
    snapshot

  • VelocityView
    supports Velocity Tools 1.1

Read more...