| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Copyright (c) 2004, 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 |
| |
| --> |
| |
| <ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"> |
| <description>no description</description> |
| <display-name>ReadOnlyBean</display-name> |
| <enterprise-beans> |
| <entity> |
| <display-name>CustomerEJB</display-name> |
| <ejb-name>CustomerEJB</ejb-name> |
| <home>samples.ejb.bmp.robean.ejb.CustomerHome</home> |
| <remote>samples.ejb.bmp.robean.ejb.Customer</remote> |
| <ejb-class>samples.ejb.bmp.robean.ejb.CustomerEJB</ejb-class> |
| <persistence-type>Bean</persistence-type> |
| <prim-key-class>samples.ejb.bmp.robean.ejb.PKString</prim-key-class> |
| <reentrant>false</reentrant> |
| <resource-ref> |
| <res-ref-name>jdbc/bmp-robean</res-ref-name> |
| <res-type>javax.sql.DataSource</res-type> |
| <res-auth>Container</res-auth> |
| <res-sharing-scope>Shareable</res-sharing-scope> |
| </resource-ref> |
| <security-identity> |
| <use-caller-identity/> |
| </security-identity> |
| </entity> |
| <entity> |
| <display-name>CustomerProgRefreshEJB</display-name> |
| <ejb-name>CustomerProgRefreshEJB</ejb-name> |
| <home>samples.ejb.bmp.robean.ejb.CustomerProgRefreshHome</home> |
| <remote>samples.ejb.bmp.robean.ejb.CustomerProgRefresh</remote> |
| <ejb-class>samples.ejb.bmp.robean.ejb.CustomerProgRefreshEJB</ejb-class> |
| <persistence-type>Bean</persistence-type> |
| <prim-key-class>samples.ejb.bmp.robean.ejb.PKString1</prim-key-class> |
| <reentrant>false</reentrant> |
| <resource-ref> |
| <res-ref-name>jdbc/bmp-robean</res-ref-name> |
| <res-type>javax.sql.DataSource</res-type> |
| <res-auth>Container</res-auth> |
| <res-sharing-scope>Shareable</res-sharing-scope> |
| </resource-ref> |
| <security-identity> |
| <use-caller-identity/> |
| </security-identity> |
| </entity> |
| <entity> |
| <display-name>CustomerTransactionalEJB</display-name> |
| <ejb-name>CustomerTransactionalEJB</ejb-name> |
| <home>samples.ejb.bmp.robean.ejb.CustomerTransactionalHome</home> |
| <remote>samples.ejb.bmp.robean.ejb.CustomerTransactional</remote> |
| <ejb-class>samples.ejb.bmp.robean.ejb.CustomerTransactionalEJB</ejb-class> |
| <persistence-type>Bean</persistence-type> |
| <prim-key-class>java.lang.String</prim-key-class> |
| <reentrant>false</reentrant> |
| <resource-ref> |
| <res-ref-name>jdbc/bmp-robean</res-ref-name> |
| <res-type>javax.sql.DataSource</res-type> |
| <res-auth>Container</res-auth> |
| <res-sharing-scope>Shareable</res-sharing-scope> |
| </resource-ref> |
| <security-identity> |
| <use-caller-identity/> |
| </security-identity> |
| </entity> |
| <entity> |
| <display-name>CustomerRefreshEJB</display-name> |
| <ejb-name>CustomerRefreshEJB</ejb-name> |
| <home>samples.ejb.bmp.robean.ejb.CustomerRefreshHome</home> |
| <remote>samples.ejb.bmp.robean.ejb.CustomerRefresh</remote> |
| <ejb-class>samples.ejb.bmp.robean.ejb.CustomerRefreshEJB</ejb-class> |
| <persistence-type>Bean</persistence-type> |
| <prim-key-class>java.lang.String</prim-key-class> |
| <reentrant>false</reentrant> |
| <resource-ref> |
| <res-ref-name>jdbc/bmp-robean</res-ref-name> |
| <res-type>javax.sql.DataSource</res-type> |
| <res-auth>Container</res-auth> |
| <res-sharing-scope>Shareable</res-sharing-scope> |
| </resource-ref> |
| <security-identity> |
| <use-caller-identity/> |
| </security-identity> |
| </entity> |
| <entity> |
| <display-name>AddressEJB</display-name> |
| <ejb-name>AddressEJB</ejb-name> |
| <home>samples.ejb.bmp.robean.ejb.AddressHome</home> |
| <remote>samples.ejb.bmp.robean.ejb.Address</remote> |
| <ejb-class>samples.ejb.bmp.robean.ejb.AddressEJB</ejb-class> |
| <persistence-type>Bean</persistence-type> |
| <prim-key-class>java.lang.String</prim-key-class> |
| <reentrant>false</reentrant> |
| <resource-ref> |
| <res-ref-name>jdbc/bmp-robean</res-ref-name> |
| <res-type>javax.sql.DataSource</res-type> |
| <res-auth>Container</res-auth> |
| <res-sharing-scope>Shareable</res-sharing-scope> |
| </resource-ref> |
| <security-identity> |
| <use-caller-identity/> |
| </security-identity> |
| </entity> |
| </enterprise-beans> |
| <assembly-descriptor> |
| <container-transaction> |
| <method> |
| <ejb-name>CustomerEJB</ejb-name> |
| <method-name>*</method-name> |
| </method> |
| <trans-attribute>Required</trans-attribute> |
| </container-transaction> |
| <container-transaction> |
| <method> |
| <ejb-name>CustomerProgRefreshEJB</ejb-name> |
| <method-name>*</method-name> |
| </method> |
| <trans-attribute>NotSupported</trans-attribute> |
| </container-transaction> |
| <container-transaction> |
| <method> |
| <ejb-name>CustomerTransactionalEJB</ejb-name> |
| <method-name>*</method-name> |
| </method> |
| <trans-attribute>Required</trans-attribute> |
| </container-transaction> |
| <container-transaction> |
| <method> |
| <ejb-name>CustomerRefreshEJB</ejb-name> |
| <method-name>*</method-name> |
| </method> |
| <trans-attribute>NotSupported</trans-attribute> |
| </container-transaction> |
| <container-transaction> |
| <method> |
| <ejb-name>AddressEJB</ejb-name> |
| <method-name>*</method-name> |
| </method> |
| <trans-attribute>Required</trans-attribute> |
| </container-transaction> |
| </assembly-descriptor> |
| </ejb-jar> |