You are previewing Spring in Action, Third Edition.

Spring in Action, Third Edition

Cover of Spring in Action, Third Edition by Craig Walls Published by Manning Publications
O'Reilly logo

Chapter 14. Odds and ends


This chapter covers
  • Externalizing configuration
  • Wiring JNDI resources in Spring
  • Sending email messages
  • Scheduling tasks
  • Asynchronous methods


I don’t know about your house, but many houses (including mine) have a so-called junk drawer. Despite its name, the contents of a junk drawer are often handy or even necessary. Things such as screwdrivers, ballpoint pens, paper clips, and extra keys often call the junk drawer their home. It’s not that they’re truly junk and have no value—it’s that they don’t have a place otherwise.

We’ve covered a lot of ground so far in this book and have explored several corners of working with Spring. Each topic has had a chapter of its own. But there are a few more Spring tricks that ...

The best content for your career. Discover unlimited learning on demand for around $1/day.