<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
      "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">

<chapter id="reliance">
   <title>Reliance modules</title>

   <para>In Microcontainer it's all about dependecies. One of the features we promissed it ability to write your own
      dependency. As a dependency we mean some condition that must be satisfied in order that a state machine let's
      a node pass to next state. In our case nodes are our beans, which we eventually want to install into
      Microcontainer's registry.
   </para>

   <para>Almost all component models impose some sort of authentification or authorization. We've added a simple
      identity module that relies on plain java.security concepts. On top of this we added an extension module
      where you can define your security requirements via Drools declarative rules. Drools integration is not limited
      to just security handling, it can be extended to suite any Drools defined rules. More about the subject in
      the chapters below.
   </para>

   <para>We've also added a jBPM integration to support long lasting state flow definitions. This integration provides
      a plugable way of notifying state machine nodes that they can move forward to the next state. We'll show a simple
      human interaction of accepting state change request to move bean into next state.
   </para>

   <xi:include href="reliance_identity.xml"
               xml:base="./"
               xmlns:xi="http://www.w3.org/2001/XInclude"/>
   <xi:include href="reliance_rules.xml"
               xml:base="./"
               xmlns:xi="http://www.w3.org/2001/XInclude"/>
   <xi:include href="reliance_jbpm.xml"
               xml:base="./"
               xmlns:xi="http://www.w3.org/2001/XInclude"/>
</chapter>