Using Dynamic Languages

Often you are required to do some business logic as fast as possible, such as a prototype that needs to work or a quick security authorization check or calculating some hash. In this chapter, you are going to see how the use of dynamic languages together with the Spring Framework can help you to do such tasks.

Get More Dynamic

The Spring Framework supports Groovy, JRuby, and BeanShell dynamic languages and you can interact with them like any other bean defined in the container. Remember the Login interface and Login implementation? Let’s review them. See Listings 14-1 and 14-2.

Listing 14-1.

package ...

Get Introducing Spring Framework: A Primer now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.