Skip to main content
  • 866 Accesses

Abstract

This chapter is necessary for building a Spring background, which will be very helpful in the upcoming chapters. This chapter will help you get familiar with the Spring container, context, beans, and most Spring core modules and how they work together to allow developers to focus on solving problems instead of building up support.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    A software term introduced by Martin Fowler, Rebecca Parsons, and Josh MacKenzie in September 2000 to refer to ordinary Java objects not bound by any restriction.

  2. 2.

    The process through which an object is provided its dependencies, whether it is using a constructor or properties which are set using setter methods, is called dependency injection. inversion of control is the concept through which an external component has control over what is provided as a dependency to an object.

  3. 3.

    For more information, see the public reference documentation at http://docs.spring.io/spring/docs/current/spring-framework-reference .

  4. 4.

    The @Autowiring annotation can also be used on the field directly, called field injection; but this approach is discouraged because it makes testing difficult. As the field is usually private, to test the containing bean, a full Spring context must be set up or reflection must be used to access the field.

  5. 5.

    The Spring Reference Documentation can be accessed at http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ .

  6. 6.

    A snippet from the JEE official Java doc at http://docs.oracle.com/javaee/7/api/javax/annotation/PostConstruct.html .

  7. 7.

    A snippet from the JEE official Java doc at http://docs.oracle.com/javaee/7/api/javax/annotation/PreDestroy.html .

  8. 8.

    http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/beans/factory/BeanFactory.html .

  9. 9.

    CABPP is the acronym for CommonAnnotationBeanPostProcessor. It is used to fit a log quote nicely on a page.

  10. 10.

    The most commonly used Java testing framework (see http://junit.org ).

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Iuliana Cosmina

About this chapter

Cite this chapter

Cosmina, I. (2015). Spring Fundamentals. In: Pivotal Certified Spring Web Application Developer Exam. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0808-3_2

Download citation

Publish with us

Policies and ethics