43a44
>       <title>Minimal Dependencies</title>
46c47,48
<         <colspec colname="c2" colwidth="2*"/>
---
>         <colspec colname="c2" colwidth="1*"/>
>         <colspec colname="c3" colwidth="2*"/>
62c64
<             the apache commons user guide</ulink> for more information on how 
---
>             the Apache commons user guide</ulink> for more information on how 
82c84
<     <para>Of course, hibernate's required libraries depend on the environment
---
>     <para>Of course, Hibernate's required libraries depend on the environment
88a91
>       <title>Typical Dependencies</title>
91c94,95
<         <colspec colname="c2" colwidth="2*"/>
---
>         <colspec colname="c2" colwidth="1*"/>
>         <colspec colname="c3" colwidth="2*"/>
135a140
>     <title>Optional Dependencies</title>
138c143,144
<         <colspec colname="c2" colwidth="2*"/>
---
>         <colspec colname="c2" colwidth="1*"/>
>         <colspec colname="c3" colwidth="2*"/>
169c175
<       That is because JBoss already includes the hibernate libraries.  To run this webapplication 
---
>       That is because JBoss already includes the hibernate libraries.  To run this web application 
197c203
<     <para>Within jbpm-enterprise.ear there are the following files:
---
>     <para>Within <filename>jbpm-enterprise.ear</filename> there are the following files:
201c207
<       <listitem>jbpm-console.war - the jbpm console web application
---
>       <listitem><para><filename>jbpm-console.war</filename> - the jbpm console web application</para>
203c209
<       <listitem>jbpm-enterprise.jar - several jBPM EJB compnents
---
>       <listitem><para><filename>jbpm-enterprise.jar</filename> - several jBPM EJB compnents</para>
205c211
<       <listitem>lib/jbpm-configs.jar - jBPM configuration files
---
>       <listitem><para><filename>lib/jbpm-configs.jar</filename> - jBPM configuration files</para>
207c213
<       <listitem>lib/jbpm-identity.jar - jBPM identity component classes
---
>       <listitem><para><filename>lib/jbpm-identity.jar</filename> - jBPM identity component classes</para>
209c215
<       <listitem>lib/jbpm-jpdl.jar - jBPM jpdl classes
---
>       <listitem><para><filename>lib/jbpm-jpdl.jar</filename> - jBPM jpdl classes</para>
211c217
<       <listitem>meta-inf/application.xml
---
>       <listitem><para><filename>meta-inf/application.xml</filename></para>
215c221
<     <para>jbpm-enterprise.jar contains the following EJB components:
---
>     <para><filename>jbpm-enterprise.jar</filename> contains the following EJB components:
219,220c225,226
<       <listitem>CommandListenerBean - a Message Driven Bean that listens on the 
<       jbpmCommandQueue for jBPM command messages.
---
>       <listitem><para>CommandListenerBean - a Message Driven Bean that listens on the 
>       jbpmCommandQueue for jBPM command messages.</para>
222c228
<       <listitem>CommandServiceBean - a Stateless Session Bean that executes jBPM Commands.
---
>       <listitem><para>CommandServiceBean - a Stateless Session Bean that executes jBPM Commands.</para>
224,225c230,231
<       <listitem>JobListenerBean - a Message Driven Bean that listeners on the jbpmJobQueue 
<       for jBPM job messages to support asynchronous continuations.
---
>       <listitem><para>JobListenerBean - a Message Driven Bean that listeners on the jbpmJobQueue 
>       for jBPM job messages to support asynchronous continuations.</para>
227c233
<       <listitem>TimerServiceBean - a TimerBean that implements the jBPM timer service.
---
>       <listitem><para>TimerServiceBean - a TimerBean that implements the jBPM timer service.</para>
233,234c239,240
<     for JBoss Application Servers. All beans are deployed without specifying transaction-attribure, 
<     therefore by default they have transaction-attribure "Required".
---
>     for JBoss Application Servers. All beans are deployed without specifying transaction-attribute, 
>     therefore by default they have transaction-attribute "Required".
254c260
<       <listitem>jbpm.cfg.xml
---
>       <listitem><para><filename>jbpm.cfg.xml</filename></para>
256c262
<       <listitem>jbpm.mail.templates.xml
---
>       <listitem><para><filename>jbpm.mail.templates.xml</filename></para>
258,260c264,268
<       <listitem>hibernate.cfg.xml includes the following configuration items that may require modification to support other databases or application servers.
<         <programlisting>&lt;!-- hibernate dialect --&gt;
<     &lt;property name="hibernate.dialect"&gt;org.hibernate.dialect.HSQLDialect&lt;/property&gt;
---
>       <listitem><para><filename>hibernate.cfg.xml</filename> includes the following configuration items that may require modification to support other databases or application servers.</para>
>         <programlisting language="xml">&lt;!-- hibernate dialect --&gt;
>     &lt;property name="hibernate.dialect"&gt;
>         org.hibernate.dialect.HSQLDialect
>     &lt;/property&gt;
269c277,279
<     &lt;property name="hibernate.cache.provider_class"&gt;org.hibernate.cache.HashtableCacheProvider&lt;/property&gt;
---
>     &lt;property name="hibernate.cache.provider_class"&gt;
>         org.hibernate.cache.HashtableCacheProvider
>     &lt;/property&gt;
272c282,284
<     &lt;property name="hibernate.transaction.manager_lookup_class"&gt;org.hibernate.transaction.JBossTransactionManagerLookup&lt;/property&gt;
---
>     &lt;property name="hibernate.transaction.manager_lookup_class"&gt;
>         org.hibernate.transaction.JBossTransactionManagerLookup
>     &lt;/property&gt;
276c288,290
<     &lt;property name="hibernate.connection.datasource"&gt;java:/JbpmDS&lt;/property&gt;
---
>     &lt;property name="hibernate.connection.datasource"&gt;
>         java:/JbpmDS
>     &lt;/property&gt;
285,286c299,304
<     &lt;property name="hibernate.transaction.factory_class"&gt;org.hibernate.transaction.CMTTransactionFactory&lt;/property&gt;
<     &lt;property name="hibernate.transaction.manager_lookup_class"&gt;org.hibernate.transaction.JBossTransactionManagerLookup&lt;/property&gt;
---
>     &lt;property name="hibernate.transaction.factory_class"&gt;
>         org.hibernate.transaction.CMTTransactionFactory
>     &lt;/property&gt;
>     &lt;property name="hibernate.transaction.manager_lookup_class"&gt;
>         org.hibernate.transaction.JBossTransactionManagerLookup
>     &lt;/property&gt;
303c321
<     <para>The transaction.manager.lookup may be replace with values appropirate to other 
---
>     <para>The transaction.manager.lookup may be replace with values appropriate to other 
318c336
<     is configured, Hibenate will use the JTA transaction if it already exists, but will 
---
>     is configured, Hibernate will use the JTA transaction if it already exists, but will 
324c342
<     <para>jbpm.cfg.xml included the following configuration items:
---
>     <para><filename>jbpm.cfg.xml</filename> included the following configuration items:
327,344c345,367
<     <programlisting> &lt;jbpm-context&gt;
<     &lt;service name="persistence"&gt;
<       &lt;factory&gt;
<         &lt;bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory"&gt;
<           &lt;field name="isCurrentSessionEnabled"&gt;&lt;true /&gt;&lt;/field&gt;
<           &lt;field name="isTransactionEnabled"&gt;&lt;false /&gt;&lt;/field&gt;
<         &lt;/bean&gt;
<       &lt;/factory&gt;
<     &lt;/service&gt;
<     &lt;service name="message"&gt;
<       &lt;factory&gt;
<         &lt;bean class="org.jbpm.msg.jms.JmsMessageServiceFactoryImpl"&gt;
<           &lt;field name="connectionFactoryJndiName"&gt;&lt;string value="java:/JmsXA"/&gt;&lt;/field&gt;
<           &lt;field name="destinationJndiName"&gt;&lt;string value="queue/JbpmJobQueue"/&gt;&lt;/field&gt;
<         &lt;/bean&gt;
<       &lt;/factory&gt;
<     &lt;/service&gt;
<     &lt;service name="scheduler" factory="org.jbpm.scheduler.ejbtimer.EjbSchedulerServiceFactory" /&gt;</programlisting>
---
>     <programlisting language="xml">&lt;jbpm-context&gt;
>   &lt;service name="persistence"&gt;
>     &lt;factory&gt;
>       &lt;bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory"&gt;
>         &lt;field name="isCurrentSessionEnabled"&gt;&lt;true /&gt;&lt;/field&gt;
>         &lt;field name="isTransactionEnabled"&gt;&lt;false /&gt;&lt;/field&gt;
>       &lt;/bean&gt;
>     &lt;/factory&gt;
>   &lt;/service&gt;
>   &lt;service name="message"&gt;
>     &lt;factory&gt;
>       &lt;bean class="org.jbpm.msg.jms.JmsMessageServiceFactoryImpl"&gt;
>         &lt;field name="connectionFactoryJndiName"&gt;
>           &lt;string value="java:/JmsXA"/&gt;
>         &lt;/field&gt;
>         &lt;field name="destinationJndiName"&gt;
>           &lt;string value="queue/JbpmJobQueue"/&gt;
>         &lt;/field&gt;
>       &lt;/bean&gt;
>     &lt;/factory&gt;
>   &lt;/service&gt;
> &lt;service name="scheduler" 
>   factory="org.jbpm.scheduler.ejbtimer.EjbSchedulerServiceFactory" /&gt;</programlisting>
352c375
<     Hibenrate session can be injected into a stateless session bean via a persistence context, 
---
>     Hibernate session can be injected into a stateless session bean via a persistence context, 
358c381
<     Hibernate sessions upon jbpmContext.close()..This is NOT the desired behaviour when 
---
>     Hibernate sessions upon jbpmContext.close()..This is NOT the desired behavior when 
367c390
<   <section id="thesuite">
---
>   <section id="thejpdlsuite">
373c396
<       libraries, examples and documentation. It doesn't include the graphcal designer and web console 
---
>       libraries, examples and documentation. It doesn't include the graphical designer and web console 
381c404
<           <colspec colname="c2" colwidth="2*"/>
---
>           <colspec colname="c2" colwidth="4*"/>
425,426c448,449
<       plugin for eclipse and a JBoss server that is preconfigured with a deployed version of the 
<       jPDL runtime and console webapp. The included tools are all preconfigured to work nicely 
---
>       plugin for eclipse and a JBoss server that is pre-configured with a deployed version of the 
>       jPDL runtime and console web app. The included tools are all pre-configured to work nicely 
434c457
<           <colspec colname="c2" colwidth="2*"/>
---
>           <colspec colname="c2" colwidth="4*"/>
444c467
<               <entry>The designer is the eclipse plugin that alows for graphical process editing 
---
>               <entry>The designer is the eclipse plugin that allows for graphical process editing 
464,472c487,496
<       <programlisting>   &lt;!-- ============================== --&gt;
<    &lt;!-- Append messages to the console --&gt;
<    &lt;!-- ============================== --&gt;
< 
<    &lt;appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"&gt;
<       &lt;errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/&gt;
<       &lt;param name="Target" value="System.out"/&gt;
<       &lt;param name="Threshold" value="INFO"/&gt;</programlisting>
<       <para>And in param <literal>Threshold</literal>, change <literal>INFO</literal> to 
---
>       <programlisting language="xml">&lt;!-- ============================== --&gt;
> &lt;!-- Append messages to the console --&gt;
> &lt;!-- ============================== --&gt;
> 
> &lt;appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"&gt;
>   &lt;errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/&gt;
>   &lt;param name="Target" value="System.out"/&gt;
>   &lt;param name="Threshold" value="INFO"/&gt;</programlisting>
>   
>         <para>And in param <literal>Threshold</literal>, change <literal>INFO</literal> to 
477,484c501,509
<       tresholds there for specific packages like e.g. </para>
<       <programlisting>   &lt;category name="org.hibernate"&gt;
<       &lt;priority value="INFO"/&gt;
<    &lt;/category&gt;
< 
<    &lt;category name="org.jboss"&gt;
<       &lt;priority value="INFO"/&gt;
<    &lt;/category&gt;</programlisting>
---
>       thresholds there for specific packages like e.g. </para>
>       
>       <programlisting language="xml">&lt;category name="org.hibernate"&gt;
>   &lt;priority value="INFO"/&gt;
> &lt;/category&gt;
> 
> &lt;category name="org.jboss"&gt;
>   &lt;priority value="INFO"/&gt;
> &lt;/category&gt;</programlisting>
