Professional Java Development with the Spring Framework [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Professional Java Development with the Spring Framework [Electronic resources] - نسخه متنی

Rod Johnsonet al.

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
توضیحات
افزودن یادداشت جدید













  • Chapter 3: Advanced Container Concepts



    Overview


    previous chapter, we focused on the core functionality of the Spring bean factory and application context, as well as the concepts of Inversion of Control and Dependency Injection that they are based on. You now know how to configure, initialize, and use a Spring container well enough to handle a number of development use cases and scenarios.

    In this chapter we are going to examine some additional, more advanced container capabilities. We are also going to discuss a number of advanced container configuration and usage strategies. A good understanding of most of the content of this chapter is a key to using the Spring container in the most efficient and effective way possible.

    This chapter examines:



    • Spring's Resource abstraction for accessing low-level resources



    • How the application context can act as a source for localized messages



    • The simple eventing mechanism supported by the application context



    • A number of tips and strategies for creating and managing the container



    • Some handy factory beans that make it much easier to handle some configuration requirements



    • Strategies for handling testing concerns



    • Alternatives to XML as the definition format for container configurations, including definitions in Properties format and programmatic definitions



  • / 188