<navigation threaded="true" section="Resin : CMP : Tutorials" comment="true">
  <item title="Tutorials" link="index.xtp">
<!--
    <item link="init/index.xtp" title="Initialization">
      <description>
        <p>Initialize the database for the examples.</p>
      </description>
    </item>
-->

    <!-- <item link="cmp-xdoclet/index.xtp" title="XDoclet"/> -->

    <item link="cmp-basic/index.xtp" title="Basic CMP"/>
<!--
    <item link="cmp-xbasic/index.xtp" title="Basic CMP with XDoclet"/>
  -->
<!--
    <item link="cmp-basic-transaction/index.xtp" title="Basic Transactions">
      <description>
        <p>Scenario: Headmaster Dumbledore needs to swap teachers for a Course</p>
        <p>This example focuses on:</p>
        <ul>
          <li>Motivating the need for transactions.</li>
          <li>Introducing UserTransaction</li>
          <li>Introducing business methods as encapsulating transactions.</li>
        </ul>

      </description>
    </item>
-->

    <item link="cmp-find/index.xtp" title="Find with EJB-QL">
      <description>
        <p>Scenario: Headmaster Dumbledore needs to list all the courses and find the
        Potions instructor.</p>

        <p>This example:</p>
        <ul>
          <li>Creates a collection finder, findAll, to finds all Courses</li>
          <li>Creates a single-entity finder, findByInstructor, to find a Course by its teacher.</li>
        </ul>
      </description>
    </item>
<!--
    <item link="cmp-xfind/index.xtp" title="Find with EJB-QL">
    </item>
-->

    <item link="cmp-create/index.xtp" title="Creating and Removing">
      <description>
        <p>Scenario: Headmaster Dumbledore adds two courses to the curriculum,
        then changes his mind and removes them again</p>
        <p>This example focuses on:</p>
        <ul>
          <li>Implementing and using create, ejbCreate, and ejbPostCreate methods</li>
          <li>Using the remove() method for entity beans</li>
        </ul>
      </description>
    </item>
<!--
    <item link="cmp-xcreate/index.xtp" title="Creating and Removing with XDoclet"/>
  -->

    <item link="cmp-one2many/index.xtp" title="1-n Relationship">
      <description>
        <p>Scenario: Professor Snape wants to know which students live in which house</p>
        <p>This example focuses on:</p>
        <ul>
          <li>Introducing relations in CMP beans</li>
          <li>Establishing a simple one-to-many relationship between two entity beans</li>
          <li>Setting up the database for a one-to-many relationship</li>
        </ul>
      </description>
    </item>

    <item link="cmp-select/index.xtp" title="ejbSelect EJB-QL">
      <description>
        <p>Scenario: Professor McGonagall needs a list of all the boys in a house</p>
        <p>This example focuses on:</p>
        <ul>
          <li>Introducing the ejbSelect method</li>
          <li>Using more sophisticated queries and the ORDER BY clause</li>
        </ul>
      </description>
    </item>

    <item link="cmp-one2one/index.xtp" title="1-1 Relationship">
      <description>
        <p>Scenario: At Hogwarts every Professor teaches one
        Course. The Headmaster keeps track with two 1-1-related CMP
        beans</p> 
        <p>This example focuses on:</p>
        <ul>
          <li>Establishing a one-to-one relationship between two entity beans</li>
          <li>Setting up the database for a one-to-one relationship</li>
        </ul>
      </description>
    </item>
<!--
    <item link="cmp-xone2one/index.xtp" title="1-1 Relationship with XDoclet">
    </item>
-->

    <item link="cmp-many2many/index.xtp" title="n-m Relationship">
      <description>
        <p>Scenario: Professor McGonagall needs to see everybody's
        schedule as well as an enrollment list for every class</p>
        <p>This example focuses on:</p>
        <ul>
          <li>Establishing a many-to-many relationship between two entity beans</li>
          <li>Setting up the database for a many-to-many relationship</li>
        </ul>
      </description>
    </item>

<!--
    <item link="cmp-many2one/index.xtp" title="n-1 Relationship">
    </item>
    <item link="cmp-id/index.xtp" title="Id">
    </item>

    <item link="cmp-ejbql/index.xtp" title="EJB-QL">
    </item>
-->

    <item link="cmp-map/index.xtp" title="Map/Compound PK">
    </item>

  </item>
</navigation>
