Spring Framework 1.1.5 Released

原创 2005年03月01日 15:56:00
  • added overloaded "reject" and "rejectValue" methods without default message to Errors interface and BindException
  • added "lookup(name, requiredType)" convenience method to JndiTemplate, matching the JNDI object against the given type
  • added "homeInterface" property to AbstractRemoteSlsbInvokerInterceptor, for specifying the home interface to narrow to
  • introduced MailMessage interface as common interface for SimpleMailMessage and JavaMail MIME messages
  • Log4jConfigurer accepts a "classpath:" URL or a "file:" URL as location too, not just a plain file path
  • Log4jConfigurer accepts config files that do not reside in the file system, as long as there is no refresh interval
  • added "int[] batchUpdate(String[] sql)" method to JdbcTemplate, for executing a group of SQL statements as a batch
  • added C3P0NativeJdbcExtractor for C3P0 0.8.5 or later (for earlier C3P0 versions, use SimpleNativeJdbcExtractor)
  • added "maxRows" bean property to JdbcTemplate, allowing to specify the maximum number of rows to be fetched
  • added "fetchSize" and "maxRows" bean properties to RdbmsOperation, passing the values to the internal JdbcTemplate
  • added ClobStringTypeHandler, BlobByteArrayTypeHandler and BlobSerializableTypeHandler for iBATIS SQL Maps 2.0.9
  • ResourceHolderSupport throws TransactionTimedOutException if no time-to-live left (before attempting an operation)
  • TransactionSynchronization objects can influence their execution order through implementing the Ordered interface
  • JtaTransactionManager is able to work with a JTA TransactionManager only (i.e. without a UserTransaction handle)
  • upgraded MockHttpServletRequest to Servlet API 2.4 (added getRemotePort, getLocalName, getLocalAddr, getLocalPort)
  • upgraded MockPageContext to JSP API 2.0 (added getExpressionEvaluator, getVariableResolver, overloaded include)
  • added "contextOverride" option to ServletContextPropertyPlaceholderConfigurer, letting web.xml override local settings
  • added "searchContextAttributes" option to ServletContextPropertyPlaceholderConfigurer, resolving context attributes
  • added "clear" and "isEmpty" methods to ModelAndView, allowing to clear the view of a given ModelAndView object
  • added JasperReportsMultiFormatView, allowing to specify the output format dynamically via a discriminator in the model
  • JSP EL expressions in Spring's JSP tags will be parsed with JSP 2.0 ExpressionEvaluator on JSP 2.0 (Jakarta JSTL else)
  • changed "spring:transform" tag's "value" attribute from String to Object, to allow for expressions resolved by JSP 2.0

相关文章推荐

spring-framework-1.1.5.zip

  • 2013年04月18日 15:56
  • 13.58MB
  • 下载

Spring Framework源码(十一):SpringMVC之URL匹配

要了解SpringMVC中数据是怎么绑定到Controller的参数上的之前我们需要知道SpringMVC是从哪里开始解析数据的。首先我们回顾下DispatcherServlet中的doDispatc...

Spring Framework 中文说明文档

Part I. Spring Framework 综述 The Spring Framework is a lightweight solution and a potential one-stop...
  • Obaniu
  • Obaniu
  • 2014年08月22日 03:28
  • 600

Spring Framework源码(十三):SpringMVC之从ModelMap到页面渲染

SpringMVC在调用了Controller的方法后会返回ModelAndView对象,这个对象会被传回DispatcherServlet的doDispatch方法中。接下来再调用以下的方法渲染页面...

spring framework体系结构及内部各模块jar之间的maven依赖关系

很多人都在用spring开发java项目,但是配置maven依赖的时候并不能明确要配置哪些spring的jar,经常是胡乱添加一堆,编译或运行报错就继续配置jar依赖,导致spring依赖混乱,甚至下...

深入解读Spring Framework Web MVC(第五弹:@RequestMapping中的头字段值)

可消费的媒体类型我们可以指定一系列可消费的媒体类型来压缩映射。当Content-Type请求头匹配可消费的媒体类型,才认为这个请求是可映射的。如:@PostMapping(path = "/pets"...

深入解读Spring Framework IoC容器(第六弹:Bean的作用域)

Bean作用域(scope)有如下种类: Scope Description singleton 这是默认的,每个Spring IoC容器中一个bean定义只对应一个实例。 prot...

Java Web 开发之 Spring Framework 包说明

注:Spring 各版本的包可在 spring.io 下载,添加 spring 包的同时需要添加 commons logging 包Spring 依赖的包说明如下: spring.jar 是包含有完...

Integrating FlywayDB In A Spring Framework Application

This post is about how to integrate Flyway into a Spring/JPA application for database schema migra...

Spring Framework研究(一)RESTFUL

前言 参考文档1:Spring Framework Reference Documentation    http://docs.spring.io/spring/docs/3.2.x/spring...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Spring Framework 1.1.5 Released
举报原因:
原因补充:

(最多只允许输入30个字)