<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC 
          "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" 
          "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">

<ejb-jar>

    <enterprise-beans>
        <entity>
            <ejb-name>demo.Story</ejb-name>
            <home>demo.StoryHome</home>
            <remote>demo.Story</remote>
            <ejb-class>demo.StoryBeanSub</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>demo.StoryKey</prim-key-class>
            <reentrant>False</reentrant>
            <cmp-field><field-name>id</field-name></cmp-field>
            <cmp-field><field-name>author</field-name></cmp-field>
            <cmp-field><field-name>subject</field-name></cmp-field>
            <cmp-field><field-name>content</field-name></cmp-field>
        </entity>
    </enterprise-beans>

    <assembly-descriptor>

        <security-role>
            <role-name>default</role-name>
        </security-role>

        <!-- no default @ejb-permission for demo.Story -->

        <!-- no default @ejb-transaction for demo.Story -->

    </assembly-descriptor>

</ejb-jar>