Integration of Application Business Logic and Business Rules with DSL and AOP

  • Bogumiła Hnatkowska
  • Krzysztof Kasprzyk
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7054)


Business processes and business rules are implemented in almost all enterprise systems. Approaches used today to their implementation are very sensitive to changes. In the paper authors propose to separate business logic layer from business rule layer by introducing an integration layer. The connections between both parts are expressed in a dedicated for that purpose domain specific language (DSL). The definitions in DSL are further translated into working source code. The proof-of-concept implementation of the integration layer was done in the aspect oriented language (AOP) – AspectJ. The AOP was selected because it fits well to encapsulate scattered and tangled source code implementing the connections between business logic and business rules with the source code implementing core business logic.


business modeling business rules domain specific languages aspect oriented programming 


  1. 1.
    Cibran, M.A., D’Hondt, M.: High-level Specification of Business Rules and Their Crosscutting Connections. In: Proc. of the 8th International Workshop on Aspect-Oriented Modeling at the International Conference on Aspect-Oriented Programming, AOSD 2006 (2006),
  2. 2.
    D’Hondt, M., D’Hondt, T.: Is Domain Knowledge an Aspect? LNCS, vol. 1743, pp. 293–294. Springer, Heidelberg (1999)Google Scholar
  3. 3.
    Friedman-Hill, E.: Jess in Action: Rule-Based Systems in Java. Manning Publications (2003)Google Scholar
  4. 4.
    Hnatkowska, B., Kasprzyk, K.: Business Rules Modularization with AOP (in Polish). In: Proc. of the 11th Software Engineering Conference KKIO 2009, WKŁ, Warsaw (2009)Google Scholar
  5. 5.
    ILOG JRules, Scholar
  6. 6.
    JBoss Rules, Scholar
  7. 7.
    Laddad, R.: AspectJ in Action: Practical Aspect-Oriented Programming. Manning Publications (2003)Google Scholar
  8. 8.
  9. 9.
    JAsCo language documentation,
  10. 10.
    von Halle, B.: Business Rules Applied – Building Better Systems Using the Business Rules Approach. Wiley (2002)Google Scholar

Copyright information

© IFIP International Federation for Information Processing 2012

Authors and Affiliations

  • Bogumiła Hnatkowska
    • 1
  • Krzysztof Kasprzyk
    • 1
  1. 1.Wroclaw University of TechnologyWroclawPoland

Personalised recommendations