| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd"> |
| <!-- |
| |
| Copyright (c) 2017, 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> |
| <display-name>Ejb1</display-name> |
| <enterprise-beans> |
| |
| <session> |
| <display-name>SFSBEJB</display-name> |
| <ejb-name>SFSBEJB</ejb-name> |
| <home>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SFSBHome</home> |
| <remote>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SFSB</remote> |
| <ejb-class>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SFSBEJB</ejb-class> |
| <session-type>Stateful</session-type> |
| <transaction-type>Bean</transaction-type> |
| <env-entry> |
| <env-entry-name>TagValue</env-entry-name> |
| <env-entry-type>java.lang.String</env-entry-type> |
| <env-entry-value>MyTagValue</env-entry-value> |
| </env-entry> |
| <ejb-ref> |
| <ejb-ref-name>ejb/SimpleEntityHome</ejb-ref-name> |
| <ejb-ref-type>Entity</ejb-ref-type> |
| <home>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SimpleEntityHome</home> |
| <remote>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SimpleEntityRemote</remote> |
| </ejb-ref> |
| <ejb-local-ref> |
| <ejb-ref-name>ejb/SimpleEntityLocalHome</ejb-ref-name> |
| <ejb-ref-type>Entity</ejb-ref-type> |
| <local-home>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SimpleEntityLocalHome</local-home> |
| <local>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SimpleEntityLocal</local> |
| <ejb-link>SimpleEntityLocal</ejb-link> |
| </ejb-local-ref> |
| <security-identity> |
| <use-caller-identity/> |
| </security-identity> |
| </session> |
| |
| <entity> |
| <display-name>SimpleEntity</display-name> |
| <ejb-name>SimpleEntity</ejb-name> |
| <home>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SimpleEntityHome</home> |
| <remote>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SimpleEntityRemote</remote> |
| <ejb-class>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SimpleEntityBean</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/DataSource</res-ref-name> |
| <res-type>javax.sql.DataSource</res-type> |
| <res-auth>Container</res-auth> |
| <res-sharing-scope>Shareable</res-sharing-scope> |
| </resource-ref> |
| </entity> |
| |
| <entity> |
| <display-name>SimpleEntityLocal</display-name> |
| <ejb-name>SimpleEntityLocal</ejb-name> |
| <local-home>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SimpleEntityLocalHome</local-home> |
| <local>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SimpleEntityLocal</local> |
| <ejb-class>com.sun.s1asdev.ejb.sfsb.cacheNPE.ejb.SimpleEntityBean</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/DataSource</res-ref-name> |
| <res-type>javax.sql.DataSource</res-type> |
| <res-auth>Container</res-auth> |
| <res-sharing-scope>Shareable</res-sharing-scope> |
| </resource-ref> |
| </entity> |
| |
| </enterprise-beans> |
| <assembly-descriptor> |
| <container-transaction> |
| <method> |
| <ejb-name>SimpleEntity</ejb-name> |
| <method-name>*</method-name> |
| </method> |
| <trans-attribute>Required</trans-attribute> |
| </container-transaction> |
| </assembly-descriptor> |
| </ejb-jar> |