Apache Jakarta and Beyond: A Java Programmeramp;#039;s Introduction [Electronic resources] نسخه متنی

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

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

Apache Jakarta and Beyond: A Java Programmeramp;#039;s Introduction [Electronic resources] - نسخه متنی

Larne Pekowsky

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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







12.3. Beyond This Book


There are many other ways to configure a program. Configuration information can be stored in property files, which is suitable for settings consisting of name/value pairs. Configuration information can also be stored in a database. This approach could be used in conjunction with OJB to create objects that have already been properly configured, much as Digester does from the XML description. It would even be possible to combine the two approaches by creating a loadFromDatabase rule that populates a configuration object from a database based on a primary key.

In the final analysis configuration is a very important aspect of any large program but should not comprise a significant portion of the code or consume much developer time. Using either of the tools discussed in this chapter allows developers to quickly move past configuration and into the more interesting parts of a project.


/ 207