Ontimize Logic is the new and powerful Transaction Logic Engine that takes Ontimize a major step further in increasing the efficiency of creating and maintaining modern complex business applications.
Based on simple declarative rules to address the complex logic chaining problems prevalent in transactions, Ontimize Logic handles the “how and when” so that the developer can focus on the “what”. Ontimize Logic seamlessly plugs into JPA/Hibernate persistence layer, executing the declarative, spreadsheet-like logic supplied corresponding to your domain objects, thus encapsulating your business logic. Execution is automatically managed and optimized by Ontimize Logic when data modification events are invoked.
As a result, you gain agility and transparency due to the elimination of 90% of business logic code, since the engine automates the "how/when" of conventional coding.
Declarative. Instead of coding how to do something, you just declare what you want to achieve.
Automatic. You do not directly invoke Business Logic with explicit API calls. Unlike procedural programming, with Ontimize Logic the rules are automatically invoked by the Transaction Logic Engine, just like in a spreadsheet. This includes ordering, invocation, reuse and optimization.
Easy to use. Plugging Ontimize Logic into Hibernate is immediate and only takes 1 line of code; from that moment on, simple rules can be combined to implement complex business rule chains.
Agility. Due to the automation, there is no need to focus on ordering, invocation, reuse or optimization. That is automatically handled by the engine. Therefore, code change and maintenance effort is significantly reduced while quality and performance is optimized.
Transparency. Rules are easy to implement, and can be read by Business Users, who can help identify errors/omissions to reduce requirements risk. Rules are defined in industry-standard programming languages such as Java and Groovy.
Costs reduction. Less code for expressing rules means less code for maintaining. By dramatically reducing tasks such as coding, testing and maintenance, the associated costs are also dramatically reduced.
What is business logic? Business Logic is the processing you execute on save/submit. The most relevant elements are:
Constraints. These are the most obvious elements of business logic - multi-attribute, multi-table expressions that prevent bad data from being committed into the database.
Derivations. The most challenging element to program procedurally, since derivations are typically chained (dependencies require detection and properly ordered change propagation), and multi-table (invariably performance-sensitive).
Actions. Actions include auditing, copying, messaging, business process initiation, etc. Ideally, these are generic, so they can be reused over multiple Use Cases and Domain Models.
Ontimize Logic addresses only save (transaction) processing. It complements other familiar forms of business logic such as presentation logic (data retrieval / update processing, screen flow), Business Process Flow, or Decision Logic commonly associated with Rete engines.
Ontimize Eclipse plugin
Download the Ontimize Eclipse Plugin and improve the way you develop your applications! The Eclipse Plugin for Ontimize depends on the following: