Configuration of TAFJ Enterprise Edition
This section provides the prerequisites, definition of MDB and JDB files in TAFJ environment and current configuration check.
Prerequisites
To use the AS Online Transaction facility, you should be familiar with the definition, configuration and linking of MDBs and EJBs.
MDB and EJB Definition
MDB defines its associated EJB through the ejb-link attribute, which refers to the ejb-name.

MDB definition: TAFJJEE_EAR.ear/TAFJJEE_MDB.jar/META-INF/ejb-jar-xml
<message-driven> <display-name>Transacted Listener MDB for OFS</display-name> <ejb-name>OFSTransactedMDB</ejb-name> <ejb-class>com.temenos.tafj.mdb.TransactedMDB</ejb-class> <messaging-type>javax.jms.MessageListener</messaging-type> <transaction-type>Container</transaction-type> <message-destination-type>javax.jms.Queue</message-destination-type> <ejb-local-ref> <ejb-ref-name>ejb/OFSProcessingBeanLocal</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <local>com.temenos.tafj.sb.OFSProcessingBeanLocal</local> <ejb-link>OFSProcessingBean</ejb-link> </ejb-local-ref> … </message-driven>

EJB definition: TAFJJEE_EAR.ear/TAFJJEE_EJB.jar/META-INF/ejb-jar-xml
<session> <display-name>TAFJ OFS Bean</display-name> <ejb-name>OFSProcessingBean</ejb-name> <business-local>com.temenos.tafj.sb.OFSProcessingBeanLocal</business-local> <business-remote>com.temenos.tafj.sb.OFSProcessingBeanRemote</business-remote> <ejb-class>com.temenos.tafj.sb.OFSProcessingBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Bean</transaction-type> … </session>
Current Configuration Check
You can check the current configurations using the sanity check online tool or EARFileParser utility.

The following URL is used to check the current configurations with the sanity check online tool:
http://localhost:8080/TAFJEE/sanitycheck/dashboard.xhtml.

You can also check the current configurations using the standalone EARFileParser utility from TAFJ_HOME/bin.
tafjHome\bin>EarFileParser -log C:\development\demo\mavenDemo\target\demo\tafjHome\appserver\jboss\jboss6eap\TAFJJEE_EAR.ear
This generates a sanitycheck.log containing the application configuration under TAFJ_HOME/log/.
In this topic