blob: ecc09c41a3a5608bf140190ef6fe03ee75c126e3 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
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 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">
<display-name>CourseJAR</display-name>
<enterprise-beans>
<entity>
<ejb-name>StudentBean</ejb-name>
<home>com.sun.s1peqe.ejb.bmp.enroller.ejb.StudentHome</home>
<remote>com.sun.s1peqe.ejb.bmp.enroller.ejb.Student</remote>
<ejb-class>com.sun.s1peqe.ejb.bmp.enroller.ejb.StudentBean</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>false</reentrant>
<ejb-ref>
<ejb-ref-name>ejb/Enroller</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.sun.s1peqe.ejb.bmp.enroller.ejb.EnrollerHome</home>
<remote>com.sun.s1peqe.ejb.bmp.enroller.ejb.Enroller</remote>
</ejb-ref>
<resource-ref>
<res-ref-name>jdbc/bmp-enrollerDB</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>
<session>
<ejb-name>EnrollerBean</ejb-name>
<home>com.sun.s1peqe.ejb.bmp.enroller.ejb.EnrollerHome</home>
<remote>com.sun.s1peqe.ejb.bmp.enroller.ejb.Enroller</remote>
<ejb-class>com.sun.s1peqe.ejb.bmp.enroller.ejb.EnrollerBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Bean</transaction-type>
<resource-ref>
<res-ref-name>jdbc/bmp-enrollerDB</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>
</session>
<entity>
<ejb-name>CourseBean</ejb-name>
<home>com.sun.s1peqe.ejb.bmp.enroller.ejb.CourseHome</home>
<remote>com.sun.s1peqe.ejb.bmp.enroller.ejb.Course</remote>
<ejb-class>com.sun.s1peqe.ejb.bmp.enroller.ejb.CourseBean</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>false</reentrant>
<ejb-ref>
<ejb-ref-name>ejb/Enroller</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.sun.s1peqe.ejb.bmp.enroller.ejb.EnrollerHome</home>
<remote>com.sun.s1peqe.ejb.bmp.enroller.ejb.Enroller</remote>
</ejb-ref>
<resource-ref>
<res-ref-name>jdbc/bmp-enrollerDB</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>
</ejb-jar>