blob: 751099e23ec51127b3858e19721205a0969ad1fd [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
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
-->
<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>League-Team</description>
<display-name>TeamJAR</display-name>
<enterprise-beans>
<entity>
<ejb-name>TeamEJB</ejb-name>
<home>team.TeamHome</home>
<remote>team.Team</remote>
<local-home>team.LocalTeamHome</local-home>
<local>team.LocalTeam</local>
<ejb-class>team.TeamBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>false</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Team</abstract-schema-name>
<cmp-field>
<description>no description</description>
<field-name>teamId</field-name>
</cmp-field>
<cmp-field>
<description>no description</description>
<field-name>name</field-name>
</cmp-field>
<cmp-field>
<description>no description</description>
<field-name>city</field-name>
</cmp-field>
<primkey-field>teamId</primkey-field>
<security-identity>
<use-caller-identity/>
</security-identity>
<query>
<description>Selector single object int</description>
<query-method>
<method-name>ejbSelectSalaryOfPlayerInTeam</method-name>
<method-params>
<method-param>team.LocalTeam</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select p.salary from Team t, in(t.players) as p where t = ?1 and p.name = ?2</ejb-ql>
</query>
<query>
<query-method>
<method-name>findAll</method-name>
<method-params/>
</query-method>
<ejb-ql>select object(t) from Team t</ejb-ql>
</query>
<query>
<description>Selector single object String with LOCATE</description>
<query-method>
<method-name>ejbSelectNameLocate</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct t.name from Team t where LOCATE(?1, t.name) &gt; 0 AND LOCATE(?1, t.name) &lt; LENGTH(t.name)</ejb-ql>
</query>
<query>
<description>Remote finder</description>
<query-method>
<method-name>findByPlayerAndLeagueViaRemote</method-name>
<method-params>
<method-param>team.Player</method-param>
<method-param>team.League</method-param>
</method-params>
</query-method>
<ejb-ql>select object(t) from Team t, in(t.players) as p where p = ?1 and t.league = ?2</ejb-ql>
</query>
<query>
<query-method>
<method-name>findByPlayerAndLeague</method-name>
<method-params>
<method-param>team.LocalPlayer</method-param>
<method-param>team.LocalLeague</method-param>
</method-params>
</query-method>
<ejb-ql>select object(t) from Team t, in(t.players) as p where p = ?1 and t.league = ?2</ejb-ql>
</query>
<query>
<description>Selector single object String with SUBSTRING</description>
<query-method>
<method-name>ejbSelectByNameSubstring</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select t.name from Team t where t.name = SUBSTRING(?1, 5, 5)</ejb-ql>
</query>
<query>
<description>Selector single object String with CONCAT</description>
<query-method>
<method-name>ejbSelectByNameWithCONCAT</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select t.name from Team t where t.name = CONCAT(?1, ?2)</ejb-ql>
</query>
</entity>
<entity>
<ejb-name>PlayerEJB</ejb-name>
<home>team.PlayerHome</home>
<remote>team.Player</remote>
<local-home>team.LocalPlayerHome</local-home>
<local>team.LocalPlayer</local>
<ejb-class>team.PlayerBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>false</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Player</abstract-schema-name>
<cmp-field>
<description>no description</description>
<field-name>position</field-name>
</cmp-field>
<cmp-field>
<description>no description</description>
<field-name>playerId</field-name>
</cmp-field>
<cmp-field>
<description>no description</description>
<field-name>name</field-name>
</cmp-field>
<cmp-field>
<description>no description</description>
<field-name>salary</field-name>
</cmp-field>
<primkey-field>playerId</primkey-field>
<security-identity>
<use-caller-identity/>
</security-identity>
<query>
<description>Finder using the IN Expression</description>
<query-method>
<method-name>findByPositionsGoalkeeperOrDefender</method-name>
<method-params/>
</query-method>
<ejb-ql>select object(p) from Player p where p.position IN ('goalkeeper', 'defender')</ejb-ql>
</query>
<query>
<query-method>
<method-name>findByPosition</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct object(p) from Player p
where p.position = ?1</ejb-ql>
</query>
<query>
<query-method>
<method-name>findBySport</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct object(p) from Player p,
in (p.teams) as t
where t.league.sport = ?1</ejb-ql>
</query>
<query>
<description>Finder using the ABS function</description>
<query-method>
<method-name>findBySalarayWithArithmeticFunctionABS</method-name>
<method-params>
<method-param>double</method-param>
</method-params>
</query-method>
<ejb-ql>select object(p) from Player p where p.salary = ABS(?1)</ejb-ql>
</query>
<query>
<query-method>
<method-name>findAll</method-name>
<method-params/>
</query-method>
<ejb-ql>select object(p) from Player p</ejb-ql>
</query>
<query>
<query-method>
<method-name>findByPositionAndName</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct object(p) from Player p
where p.position = ?1 and p.name = ?2</ejb-ql>
</query>
<query>
<description>Finder using the MEMBER OF Expression</description>
<query-method>
<method-name>findByTeam</method-name>
<method-params>
<method-param>team.LocalTeam</method-param>
</method-params>
</query-method>
<ejb-ql>select object(p) from Player p where ?1 MEMBER p.teams</ejb-ql>
</query>
<query>
<query-method>
<method-name>findNotOnTeam</method-name>
<method-params/>
</query-method>
<ejb-ql>select object(p) from Player p
where p.teams is empty</ejb-ql>
</query>
<query>
<description>Finder using the IS NULL Expression</description>
<query-method>
<method-name>findByNullName</method-name>
<method-params/>
</query-method>
<ejb-ql>select object(p) from Player p where p.name IS NULL</ejb-ql>
</query>
<query>
<query-method>
<method-name>ejbSelectSports</method-name>
<method-params>
<method-param>team.LocalPlayer</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct t.league.sport
from Player p, in (p.teams) as t
where p = ?1</ejb-ql>
</query>
<query>
<query-method>
<method-name>findBySalaryRange</method-name>
<method-params>
<method-param>double</method-param>
<method-param>double</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct object(p) from Player p
where p.salary between ?1 and ?2</ejb-ql>
</query>
<query>
<query-method>
<method-name>findByHigherSalary</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct object(p1)
from Player p1, Player p2
where p1.salary &gt; p2.salary and
p2.name = ?1</ejb-ql>
</query>
<query>
<query-method>
<method-name>findByCity</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct object(p) from Player p,
in (p.teams) as t
where t.city = ?1</ejb-ql>
</query>
<query>
<description>Finder using the LIKE Expression</description>
<query-method>
<method-name>findByNameEndingWithON</method-name>
<method-params/>
</query-method>
<ejb-ql>select object(p) from Player p where p.name LIKE '%on'</ejb-ql>
</query>
<query>
<query-method>
<method-name>findByTest</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct object(p) from Player p
where p.name = ?1</ejb-ql>
</query>
<query>
<query-method>
<method-name>ejbSelectLeagues</method-name>
<method-params>
<method-param>team.LocalPlayer</method-param>
</method-params>
</query-method>
<result-type-mapping>Local</result-type-mapping>
<ejb-ql>select distinct t.league
from Player p, in (p.teams) as t
where p = ?1</ejb-ql>
</query>
<query>
<description>Finder using the SQRT function</description>
<query-method>
<method-name>findBySalarayWithArithmeticFunctionSQRT</method-name>
<method-params>
<method-param>double</method-param>
</method-params>
</query-method>
<ejb-ql>select object(p) from Player p where p.salary = SQRT(?1)</ejb-ql>
</query>
<query>
<query-method>
<method-name>findByLeague</method-name>
<method-params>
<method-param>team.LocalLeague</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct object(p) from Player p,
in (p.teams) as t
where t.league = ?1</ejb-ql>
</query>
</entity>
<entity>
<ejb-name>LeagueEJB</ejb-name>
<home>team.LeagueHome</home>
<remote>team.League</remote>
<local-home>team.LocalLeagueHome</local-home>
<local>team.LocalLeague</local>
<ejb-class>team.LeagueBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>false</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>League</abstract-schema-name>
<cmp-field>
<description>no description</description>
<field-name>leagueId</field-name>
</cmp-field>
<cmp-field>
<description>no description</description>
<field-name>name</field-name>
</cmp-field>
<cmp-field>
<description>no description</description>
<field-name>sport</field-name>
</cmp-field>
<primkey-field>leagueId</primkey-field>
<security-identity>
<use-caller-identity/>
</security-identity>
<query>
<query-method>
<method-name>findAll</method-name>
<method-params/>
</query-method>
<ejb-ql>select object(l) from League l</ejb-ql>
</query>
<query>
<description>Selector single object String</description>
<query-method>
<method-name>ejbSelectTeamsNameByCity</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct t.name from League l, in(l.teams) as t where t.city = ?1</ejb-ql>
</query>
<query>
<description>Selector returning SET</description>
<query-method>
<method-name>ejbSelectTeamsCity</method-name>
<method-params>
<method-param>team.LocalLeague</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct t.city from Team t where t.league = ?1</ejb-ql>
</query>
<query>
<description>Selector returning Set using multiple collection declarations with remote params</description>
<query-method>
<method-name>ejbSelectRemotePlayersByLeague</method-name>
<method-params>
<method-param>team.League</method-param>
</method-params>
</query-method>
<result-type-mapping>Remote</result-type-mapping>
<ejb-ql>select Object(p) from League l, in(l.teams) as t, in(t.players) p where l = ?1</ejb-ql>
</query>
<query>
<description>Selector single object LocalInterface</description>
<query-method>
<method-name>ejbSelectTeamByCity</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<result-type-mapping>Local</result-type-mapping>
<ejb-ql>select distinct Object(t) from League l, in(l.teams) as t where t.city = ?1</ejb-ql>
</query>
<query>
<description>Selector returning SET Remote Interfaces</description>
<query-method>
<method-name>ejbSelectRemoteTeams</method-name>
<method-params>
<method-param>team.League</method-param>
</method-params>
</query-method>
<result-type-mapping>Remote</result-type-mapping>
<ejb-ql>select object(t) from Team t where t.league = ?1</ejb-ql>
</query>
<query>
<description>Selector single object RemoteInterface</description>
<query-method>
<method-name>ejbSelectRemoteTeamByCity</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<result-type-mapping>Remote</result-type-mapping>
<ejb-ql>select distinct Object(t) from League l, in(l.teams) as t where t.city = ?1</ejb-ql>
</query>
<query>
<query-method>
<method-name>findByName</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select object(l) from League l where l.name = ?1</ejb-ql>
</query>
<query>
<description>Selector returning Set using multiple collection declarations</description>
<query-method>
<method-name>ejbSelectPlayersByLeague</method-name>
<method-params>
<method-param>team.LocalLeague</method-param>
</method-params>
</query-method>
<result-type-mapping>Local</result-type-mapping>
<ejb-ql>select Object(p) from League l, in(l.teams) as t, in(t.players) p where l = ?1</ejb-ql>
</query>
</entity>
</enterprise-beans>
<relationships>
<ejb-relation>
<description>Team To Player</description>
<ejb-relationship-role>
<ejb-relationship-role-name>TeamEJB</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>TeamEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>players</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>PlayerEJB</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>PlayerEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>teams</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
<ejb-relation>
<description>League-Team</description>
<ejb-relationship-role>
<ejb-relationship-role-name>LeagueEJB</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>LeagueEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>teams</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>TeamEJB</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<cascade-delete/>
<relationship-role-source>
<ejb-name>TeamEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>league</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
</relationships>
<assembly-descriptor>
<method-permission>
<unchecked/>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getName</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getName</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getHandle</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByPrimaryKey</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findAll</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findAll</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findByPrimaryKey</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPrimaryKey</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getPrimaryKey</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>isIdentical</method-name>
<method-params>
<method-param>jakarta.ejb.EJBLocalObject</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getLeague</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getTeamNameWithStringfunctionTests1</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getCopyOfPlayers</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getCopyOfPlayers</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>getHomeHandle</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>remove</method-name>
<method-params>
<method-param>jakarta.ejb.Handle</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>isIdentical</method-name>
<method-params>
<method-param>jakarta.ejb.EJBObject</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>remove</method-name>
<method-params>
<method-param>java.lang.Object</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>remove</method-name>
<method-params>
<method-param>java.lang.Object</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getSalaryOfPlayer</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getSalaryOfPlayer</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getEJBHome</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByPlayerAndLeague</method-name>
<method-params>
<method-param>team.LocalPlayer</method-param>
<method-param>team.LocalLeague</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getTeamNameWithStringfunctionTests3</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findByPlayerAndLeagueViaRemote</method-name>
<method-params>
<method-param>team.Player</method-param>
<method-param>team.League</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>create</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>create</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>getEJBMetaData</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>remove</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>remove</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getEJBLocalHome</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getTeamId</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getTeamId</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getCity</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getCity</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getPlayers</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getTeamNameWithStringfunctionTests2</method-name>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>dropPlayer</method-name>
<method-params>
<method-param>team.LocalPlayer</method-param>
</method-params>
</method>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>addPlayer</method-name>
<method-params>
<method-param>team.LocalPlayer</method-param>
</method-params>
</method>
</method-permission>
<method-permission>
<unchecked/>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getTeams</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getName</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getName</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getHandle</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>create</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>double</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>create</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>double</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPosition</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findAll</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findByPrimaryKey</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findAll</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByPrimaryKey</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getPosition</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>isIdentical</method-name>
<method-params>
<method-param>jakarta.ejb.EJBLocalObject</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>getHomeHandle</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findBySalarayWithArithmeticFunctionSQRT</method-name>
<method-params>
<method-param>double</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByNullName</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByPosition</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findByPosition</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByTeam</method-name>
<method-params>
<method-param>team.LocalTeam</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByLeague</method-name>
<method-params>
<method-param>team.LocalLeague</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByNameEndingWithON</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getLeagues</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>getEJBMetaData</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>remove</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>remove</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getEJBLocalHome</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findByPositionAndName</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByPositionAndName</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findByCity</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findByTest</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByCity</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByTest</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findBySalarayWithArithmeticFunctionABS</method-name>
<method-params>
<method-param>double</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getSalary</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getSalary</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPlayerId</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getPlayerId</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getPrimaryKey</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getPrimaryKey</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findNotOnTeam</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findNotOnTeam</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>remove</method-name>
<method-params>
<method-param>jakarta.ejb.Handle</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getSports</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>isIdentical</method-name>
<method-params>
<method-param>jakarta.ejb.EJBObject</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findBySalaryRange</method-name>
<method-params>
<method-param>double</method-param>
<method-param>double</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>remove</method-name>
<method-params>
<method-param>java.lang.Object</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findBySalaryRange</method-name>
<method-params>
<method-param>double</method-param>
<method-param>double</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>remove</method-name>
<method-params>
<method-param>java.lang.Object</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getEJBHome</method-name>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findBySport</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findBySport</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByHigherSalary</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Home</method-intf>
<method-name>findByHigherSalary</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByPositionsGoalkeeperOrDefender</method-name>
</method>
</method-permission>
<container-transaction>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getCopyOfPlayers</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>remove</method-name>
<method-params>
<method-param>java.lang.Object</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getLeague</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>dropPlayer</method-name>
<method-params>
<method-param>team.LocalPlayer</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getTeamId</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>create</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getPlayers</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>addPlayer</method-name>
<method-params>
<method-param>team.LocalPlayer</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getName</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByPrimaryKey</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getCity</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TeamEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>remove</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getTeams</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>remove</method-name>
<method-params>
<method-param>java.lang.Object</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByPosition</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findBySport</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findAll</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByPositionAndName</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getName</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByPrimaryKey</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findNotOnTeam</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>create</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>double</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getPlayerId</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getSports</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getSalary</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getLeagues</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findBySalaryRange</method-name>
<method-params>
<method-param>double</method-param>
<method-param>double</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getPosition</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>remove</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByHigherSalary</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByCity</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByTest</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PlayerEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByLeague</method-name>
<method-params>
<method-param>team.LocalLeague</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>LeagueEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>remove</method-name>
<method-params>
<method-param>java.lang.Object</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>LeagueEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getSport</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>LeagueEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>dropTeam</method-name>
<method-params>
<method-param>team.LocalTeam</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>LeagueEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>create</method-name>
<method-params>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>LeagueEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getName</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>LeagueEJB</ejb-name>
<method-intf>LocalHome</method-intf>
<method-name>findByPrimaryKey</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>LeagueEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getLeagueId</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>LeagueEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>getTeams</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>LeagueEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>addTeam</method-name>
<method-params>
<method-param>team.LocalTeam</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>LeagueEJB</ejb-name>
<method-intf>Local</method-intf>
<method-name>remove</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>