浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Chapter 24. Dynamic language support

Chapter 24. Dynamic language support

24.1. Introduction

Spring 2.0 introduces comprehensive support for using classes and objects that have
been defined using a dynamic language (such as JRuby) with Spring.

This support allows you to write any number of classes in a supported dynamic
language, and have the Spring container transparently instantiate, configure
and dependency inject the resulting objects.

The dynamic languages currently supported are:

  • JRuby

  • Groovy

  • BeanShell

Fully working examples of where this dynamic language support can be immediately useful
are described in the section entitled Section 24.4, “Scenarios”.

Please note that the dynamic language support detailed in this chapter is
only available in Spring versions 2.0 and above. Currently
there are no plans to backport the dynamic language
support to previous versions of Spring (most notably the 1.2.x line).

posted on 2012-06-20 19:01  lexus  阅读(278)  评论(0编辑  收藏  举报