Table of Contents

Search

  1. Preface
  2. Introduction to Services Integration Framework
  3. Setting Up the SIF SDK
  4. Request and Response Objects
  5. Transactions and Exception Handling
  6. ORS-Specific SIF API
  7. Asynchronous SIF Requests
  8. ORS-Specific JMS Event Messages
  9. Using Security Access Manager
  10. Using Dynamic Data Masking
  11. SIF API Reference
  12. Troubleshooting
  13. Appendix A: Identifiers
  14. Appendix B: Frequently Asked Questions

Services Integration Framework Guide

Services Integration Framework Guide

Example EJB Transaction for WebLogic and WebSphere

Example EJB Transaction for WebLogic and WebSphere

Use a
sifClient
object as an
EjbSiperianClient
instance for EJB transactions.
The following sample code specifies the WebLogic properties for the MDM Hub to create an
EjbSiperianClient
instance:
java.naming.provider.url=t3://10.1.48.123:7001/ java.naming.security.principal=weblogic java.naming.security.credentials=weblogic java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory java.naming.security.authentication=strong weblogic.security.SSL.ignoreHostnameVerification=true
The following sample code uses the
createTX(int)
method to create a transaction:
UserTransaction tx = ((EjbSiperianClient)sifClient).createTX(30)
The following sample code commits a transaction:
tx.begin(); // sif api calls tx.commit();
The following sample code rolls back a transaction:
tx.rollback()

0 COMMENTS

We’d like to hear from you!