| <?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>j2eeguide_productEjb</name> |
| <unique-id>758826287</unique-id> |
| <ejb> |
| <ejb-name>MyProduct</ejb-name> |
| <jndi-name>ejb/MyProduct</jndi-name> |
| <cmp> |
| <is-one-one-cmp>true</is-one-one-cmp> |
| <one-one-finders> |
| <finder> |
| <method-name>findByDescription</method-name> |
| <query-params>String desc</query-params> |
| <query-filter>desc == description</query-filter> |
| <query-variables/> |
| </finder> |
| <finder> |
| <method-name>findInRange</method-name> |
| <query-params>double low, double high</query-params> |
| <query-filter>price > low && price < high</query-filter> |
| <query-variables/> |
| </finder> |
| </one-one-finders> |
| </cmp> |
| <principal> |
| <name></name> |
| </principal> |
| <ior-security-config> |
| <transport-config> |
| <integrity>NONE</integrity> |
| <confidentiality>NONE</confidentiality> |
| <establish-trust-in-target>NONE</establish-trust-in-target> |
| <establish-trust-in-client>NONE</establish-trust-in-client> |
| </transport-config> |
| <as-context> |
| <auth-method>USERNAME_PASSWORD</auth-method> |
| <realm></realm> |
| <required>FALSE</required> |
| </as-context> |
| <sas-context> |
| <caller-propagation>NONE</caller-propagation> |
| </sas-context> |
| </ior-security-config> |
| <refresh-period-in-seconds>599</refresh-period-in-seconds> |
| <commit-option>COMMIT_OPTION_B</commit-option> |
| <bean-cache> |
| <max-cache-size>60</max-cache-size> |
| <is-cache-overflow-allowed>TRUE</is-cache-overflow-allowed> |
| <cache-idle-timeout-in-seconds>600</cache-idle-timeout-in-seconds> |
| <removal-timeout-in-seconds>6000</removal-timeout-in-seconds> |
| <victim-selection-policy>FIFO</victim-selection-policy> |
| </bean-cache> |
| </ejb> |
| <pm-descriptors> |
| <pm-descriptor> |
| <pm-identifier>IPLANET</pm-identifier> |
| <pm-version>1.0</pm-version> |
| <pm-class-generator>com.iplanet.ias.persistence.internal.ejb.ejbc.JDOCodeGenerator</pm-class-generator> |
| <pm-mapping-factory>com.iplanet.ias.cmp.NullFactory</pm-mapping-factory> |
| </pm-descriptor> |
| <pm-inuse> |
| <pm-identifier>IPLANET</pm-identifier> |
| <pm-version>1.0</pm-version> |
| </pm-inuse> |
| </pm-descriptors> |
| <cmp-resource> |
| <jndi-name>jdo/pmf</jndi-name> |
| <default-resource-principal> |
| <name>mv</name> |
| <password>mv</password> |
| </default-resource-principal> |
| </cmp-resource> |
| </enterprise-beans> |
| </sun-ejb-jar> |