Skip to content
apechinsky edited this page Apr 18, 2011 · 6 revisions

SRPLIB homepage.

Overview

SRPLIB is a family of lightweight libraries which honors Single Responsibility Principle (http://www.oodesign.com/single-responsibility-principle.html). This means that each library has strictly defined responsiblity and doesn't contain any other functionality.

Goal

The main goal is to provide lightweight, highly reusable and strictly focused open source components without any "nice to have" or "bells and whistles" features.

Modules

  • srp-contract - a lightweight library for maintaining method pre-conditions and class invariants. Contains widely known classes Argument/Assert and nothing more.
  • srp-conversion - define simple Converter interface and very basic core functionality.
  • srp-conversion-support - an optional module containing ready to use converters.
  • srp-validation - a technology independent validation library. Defines core abstractions only. Considering Bean Validation (JSR 303) as standard alternative to this module.
  • srp-validation-support - an optional module containing ready to use validators.
  • srp-binding - a technology independent binding library. Defines core abstractions only.
  • srp-criteria - technology independent criteria API.
Clone this wiki locally