Results 1 to 2 of 2

Thread: Configuration Strategy for J2SE Library?

  1. #1
    Join Date
    Aug 2008
    Posts
    3

    Default Configuration Strategy for J2SE Library?

    We've modularized a portion of our app by moving a package of DAO interfaces/implementations out to a self-contained library. How is configuration best managed, within this JAR?

    Currently, we're simply loading the Spring config within the constructor of our facade class, which works for our immediate needs, but this feels wrong. What's the cleanest way of managing this?

    Are there arguments for simply hard-wiring the configuration within this library, given that no real flexibility is intended, here? (Why should a library be applicationContext-aware? Perhaps it shouldn't...)

    Thanks in advance, for your input.

  2. #2

    Default

    This thread discusses this issue in detail, and I recommend you read it thoroughly:
    http://forum.springsource.org/showthread.php?t=89438

    I think I've seen more of these sort of discussions in the Architecture forum. Just search, or browse the forum - there interesting stuff there

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •