JBoss File
This section shows the configuration of the mandatory resources and optional properties for TAFJJEE_EJB.jar/META-INF/jboss-ejb3.xml.
The following code block presents the corresponding JBOSS EAP7 configuration part for a given EJB called OFSProcessingBean, which is in the <enterprise-beans> section of the jboss-ejb3.xml.
<session> <ejb-name>OFSProcessingBean</ejb-name> <resource-ref> <res-ref-name>jdbc/t24DataSource</res-ref-name> <res-type>javax.sql.DataSource</res-type> <jndi-name>java:/jdbc/t24DS</jndi-name> </resource-ref> <resource-ref> <res-ref-name>jdbc/t24RODataSource</res-ref-name> <res-type>javax.sql.DataSource</res-type> <jndi-name>java:/jdbc/t24RODS</jndi-name> </resource-ref> <resource-ref> <res-ref-name>jdbc/t24LockingDataSource</res-ref-name> <res-type>javax.sql.DataSource</res-type> <jndi-name>java:/jdbc/t24LockingDS</jndi-name> </resource-ref> <resource-ref> <res-ref-name>jms/TopicConnectionFactory</res-ref-name> <res-type>javax.jms.ConnectionFactory</res-type> <jndi-name>java:/ConnectionFactory</jndi-name> </resource-ref> <resource-ref> <res-ref-name>jms/tecEventsTopic</res-ref-name> <res-type>javax.jms.Queue</res-type> <jndi-name>java:/topic/tecEventsTopic</jndi-name> </resource-ref> </session>
The property values in the code block are explained in the following table. You can modify certain values, if required.
TAG/Property name |
Example value |
Comment |
---|---|---|
ejb-name |
OFSProcessingBean |
Indicates the ejb-name of the ejb-jar.xml. You can modify this value, if required. |
resource-ref\ res-ref-name |
jdbc/t24DataSource |
Maps the res-ref-name from ejb-jar.xml. |
resource-ref\jndi-name |
java:/jdbc/t24DS |
Matches the Temenos Transact JDBC resource in the JBOSS application server. You can modify this value, if required. |
resource-ref\ res-ref-name |
jdbc/t24LockingDataSource |
Maps the res-ref-name from ejb-jar.xml. |
resource-ref\jndi-name |
java:/jdbc/t24LockingDS |
Matches the Temenos Transact Locking JDBC resource in the JBOSS application server. You can modify this value, if required. |
resource-ref\ res-ref-name |
jdbc/t24RODataSource |
Maps the res-ref-name from ejb-jar.xml. |
resource-ref\jndi-name |
java:/jdbc/t24RODS |
Matches the Temenos Transact read only JDBC resource in the JBOSS application server. You can modify this value, if required. |
resource-ref\ res-ref-name |
jms/TopicConnectionFactory |
Maps the res-ref-name from ejb-jar.xml. |
resource-ref\jndi-name |
Java:/ConnectionFactory |
Matches the default JMS connection factory in the jboss jndi tree. You can modify this value, if required. |
resource-ref\ res-ref-name |
jms/tecEventsTopic |
Maps the res-ref-name from ejb-jar.xml. |
resource-ref\jndi-name |
Java:/topic/tecEvents |
Matches the Temenos Transact JMS topic in the JBOSS jndi tree. You can modify this value, if required. |
In this topic