<?xml version="1.0"?>

<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN' 'http://www.beasys.com/j2ee/dtds/weblogic-ejb-jar.dtd'>

<weblogic-ejb-jar>
    <weblogic-enterprise-bean>
      <ejb-name>StockBean</ejb-name>
      <caching-descriptor>
	<max-beans-in-cache>1000</max-beans-in-cache>
	<cache-strategy>Read-Only</cache-strategy>
	<read-timeout-seconds>60</read-timeout-seconds>
      </caching-descriptor>
      <persistence-descriptor>
	<persistence-type>
	  <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
	  <type-version>5.1.0</type-version>
	  <type-storage>META-INF/Stock-cmp-rdbms.xml</type-storage>
	</persistence-type>
	<persistence-use>
	  <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
	  <type-version>5.1.0</type-version>
	</persistence-use>
      </persistence-descriptor>
      <jndi-name>readMostly.StockHome</jndi-name>
    </weblogic-enterprise-bean>

    <weblogic-enterprise-bean>
      <ejb-name>StockWriterBean</ejb-name>
      <caching-descriptor>
	<max-beans-in-cache>1000</max-beans-in-cache>
	<cache-strategy>Read-Write</cache-strategy>
      </caching-descriptor>
      <persistence-descriptor>
	<persistence-type>
	  <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
	  <type-version>5.1.0</type-version>
	  <type-storage>META-INF/StockWriter-cmp-rdbms.xml</type-storage>
	</persistence-type>
	<persistence-use>
	  <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
	  <type-version>5.1.0</type-version>
	</persistence-use>
      </persistence-descriptor>
      <jndi-name>readMostly.StockWriterHome</jndi-name>
    </weblogic-enterprise-bean>

</weblogic-ejb-jar>
