Bus Home

Business Logic
for JPA/Hibernate 

Our Approach 

Our unique declarative approach uses spreadsheet-like business abstractions, so...

Instead of writing 500 lines of code, you can declare the 5 rules shown below

Too good to be true?  Check out this example...

      Just declare business-oriented rules like:
  1. Constraint: balance < cre
    The gadget spec URL could not be found

  2. balance = sum(orders.total 
              where paid = false)

  3. order.total = sum(lineitems.amount)

  4. lineitem.amount = quantity * partPrice

  5. lineitem.partPrice = copy(part.price)

Automation means these rules are
automatically ordered, re-used and optimized..      

... every time you make a change.                                    Download the product (includes sample)

Compare to the 500 line manual alternative 

Easy to Adopt

Components: fit easily into your architecture / framework.  Logic Injection is via Hibernate Events - no code generation, no recoding (uses existing Hibernate APIs), no changes to Domain Objects.

Open Extensibility: logic is specified in a familiar language (Java or Groovy), providing extensibility to address complex problems, and enabling the use of familiar tools like your IDE's Code Editor, Debugger, Logging, etc.


Business Logic is often half your app.  So turning 500 lines of code into 5 rules means you get to market faster, and respond to change faster.

And, business logic looks like spreadsheet formulas, so it is transparent to both IT and business Users.  Such a common language facilitates communication, and can reduce Requirements Risk.

Reduced TCO 

Maintenance Automation: Declarative means you specify what, the system automates the when and how. Fully automated dependency analysis / ordering - each time you change logic.

Compliance Automation: unlike Rete engines which must be explicitly called, re-use is automatic.  This reduces the cost of Compliance assurance.

Performance automation reduces hardware costs, and tuning effort.

How it works

Automated Business Logic is a runtime engine that plugs into Hibernate update events, executing declarative logic you supply in logic classes that parallel your Hibernate POJOs. 

This encapsulates your business logic, with no change to data access APIs or POJOs.

The video depicts Automated Business Logic Operation and Architecture, using the sample described above.
How to use it

See how to use Automated Business Logic:
  • Defining Business Logic

  • Debugging
    • Using the debugger
    • Logging