| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd"> | |
| <!-- | |
| Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved. | |
| This program and the accompanying materials are made available under the | |
| terms of the Eclipse Public License v. 2.0, which is available at | |
| http://www.eclipse.org/legal/epl-2.0. | |
| This Source Code may also be made available under the following Secondary | |
| Licenses when the conditions for such availability set forth in the | |
| Eclipse Public License v. 2.0 are satisfied: GNU General Public License, | |
| version 2 with the GNU Classpath Exception, which is available at | |
| https://www.gnu.org/software/classpath/license.html. | |
| SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | |
| --> | |
| <sun-ejb-jar> | |
| <enterprise-beans> | |
| <name>subclassing.jar</name> | |
| <unique-id>1</unique-id> | |
| <ejb> | |
| <ejb-name>CustomerSavingsEJB</ejb-name> | |
| <jndi-name>ejb/customerSavings</jndi-name> | |
| <resource-ref> | |
| <res-ref-name>jdbc/SimpleBank</res-ref-name> | |
| <jndi-name>jdbc/ejb-subclassing</jndi-name> | |
| </resource-ref> | |
| <is-read-only-bean>false</is-read-only-bean> | |
| <commit-option>B</commit-option> | |
| <bean-pool> | |
| <steady-pool-size>0</steady-pool-size> | |
| <resize-quantity>1</resize-quantity> | |
| <max-pool-size>10</max-pool-size> | |
| <pool-idle-timeout-in-seconds>3600</pool-idle-timeout-in-seconds> | |
| </bean-pool> | |
| <bean-cache> | |
| <max-cache-size>100</max-cache-size> | |
| <cache-idle-timeout-in-seconds>60</cache-idle-timeout-in-seconds> | |
| <removal-timeout-in-seconds>3600</removal-timeout-in-seconds> | |
| <victim-selection-policy>LRU</victim-selection-policy> | |
| </bean-cache> | |
| </ejb> | |
| <ejb> | |
| <ejb-name>CustomerCheckingEJB</ejb-name> | |
| <jndi-name>ejb/customerChecking</jndi-name> | |
| <resource-ref> | |
| <res-ref-name>jdbc/SimpleBank</res-ref-name> | |
| <jndi-name>jdbc/ejb-subclassing</jndi-name> | |
| </resource-ref> | |
| <is-read-only-bean>false</is-read-only-bean> | |
| <commit-option>B</commit-option> | |
| <bean-pool> | |
| <steady-pool-size>0</steady-pool-size> | |
| <resize-quantity>1</resize-quantity> | |
| <max-pool-size>10</max-pool-size> | |
| <pool-idle-timeout-in-seconds>3600</pool-idle-timeout-in-seconds> | |
| </bean-pool> | |
| <bean-cache> | |
| <max-cache-size>100</max-cache-size> | |
| <cache-idle-timeout-in-seconds>60</cache-idle-timeout-in-seconds> | |
| <removal-timeout-in-seconds>3600</removal-timeout-in-seconds> | |
| <victim-selection-policy>LRU</victim-selection-policy> | |
| </bean-cache> | |
| </ejb> | |
| </enterprise-beans> | |
| </sun-ejb-jar> | |