首页IT科技chapter 2(Chapter 24. Dynamic language support)

chapter 2(Chapter 24. Dynamic language support)

时间2025-05-05 14:51:12分类IT科技浏览3264
导读:24.1.Introduction...

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.

Why only these languages?

The supported languages were chosen because a) the languages

have a lot of traction in the Java enterprise community, b) no requests were made

for other languages within the Spring 2.0 development timeframe, and

c) the Spring developers were most familiar with them.

There is nothing stopping the inclusion of further languages though. If you want

to see support for <insert your favourite dynamic language here

>,

you can always raise an issue on Springs

JIRA

page (or implement such support yourself). Chapter24.Dynamic language support 24.1.Introduction

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 Section24.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).
声明:本站所有文章          ,如无特殊说明或标注                 ,均为本站原创发布           。任何个人或组织    ,在未征得本站同意时       ,禁止复制          、盗用                 、采集    、发布本站内容到任何网站       、书籍等各类媒体平台              。如若本站内容侵犯了原著者的合法权益                  ,可联系我们进行处理      。

创心域SEO版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!

展开全文READ MORE
网上挣零花钱真实可靠的(网上有什么平台赚钱的-0粉也能赚钱,这3个平台非常适合你)