~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to usersguide/tutorials/j2ee-tut/examples/ejb/savingsaccount/SavingsAccount/src/conf/ejb-jar.xml

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<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">
 
3
  <display-name>SavingsAccount</display-name>
 
4
  <enterprise-beans>
 
5
    <entity>
 
6
      <display-name>SavingsAccountEB</display-name>
 
7
      <ejb-name>SavingsAccountBean</ejb-name>
 
8
      <home>bank.SavingsAccountRemoteHome</home>
 
9
      <remote>bank.SavingsAccountRemote</remote>
 
10
      <ejb-class>bank.SavingsAccountBean</ejb-class>
 
11
      <persistence-type>Bean</persistence-type>
 
12
      <prim-key-class>java.lang.String</prim-key-class>
 
13
      <reentrant>false</reentrant>
 
14
      <resource-ref>
 
15
        <description>jdbc:pointbase://localhost:9092/sample [pbpublic on PBPUBLIC]</description>
 
16
        <res-ref-name>jdbc/pointbase</res-ref-name>
 
17
        <res-type>javax.sql.DataSource</res-type>
 
18
        <res-auth>Container</res-auth>
 
19
        <res-sharing-scope>Shareable</res-sharing-scope>
 
20
      </resource-ref>
 
21
    </entity>
 
22
  </enterprise-beans>
 
23
  <assembly-descriptor>
 
24
    <container-transaction>
 
25
      <method>
 
26
        <ejb-name>SavingsAccountBean</ejb-name>
 
27
        <method-name>*</method-name>
 
28
      </method>
 
29
      <trans-attribute>Required</trans-attribute>
 
30
    </container-transaction>
 
31
  </assembly-descriptor>
 
32
</ejb-jar>