JCA specifies several levels of transaction support for resource adapters.The kind of transactions that your resource adapter supports is specified in its ra.xml file. There are essentially three options: none (for example with CICS EPI connector), local transactions (for example with a CICS ECI connector), global transactions (for example with an IMS connector).<connector>
For global transactions, you can use Spring's generic transaction infrastructure to demarcate transactions, with Jta Transaction Manager as backend (delegating to the Java EE server's distributed transaction coordinator under neath).
For local transactions on a single CCI Connection Factory, Spring provides a specific transaction management strategy for CCI, analogous to the Data Source Transaction Manager for JDBC.The CCI API defines a local transaction object and corresponding local transaction demarcation methods.
Spring's CciLocal Transaction Manager executes such local CCI transactions, fully compliant with Spring's generic Platform Transaction Manager abstraction.<jee:jndi-lookup id="eciConnectionFactory" jndi-name="eis/cicseci"/>
Both transaction strategies can be used with any of Spring's transaction demarcation facilities, be it declarative or programmatic. This is a consequence of Spring's generic Plat form Transaction Manager abstraction, which decouples transaction demarcation from the actual execution strategy. Simply switch between Jta Transaction Manager and CciLocal Transaction Manager as needed, keeping your transaction demarcation as-is.
Java-Springs Related Interview Questions
|Adv Java Interview Questions||J2EE Interview Questions|
|Core Java Interview Questions||JSP Interview Questions|
|Java-Springs Interview Questions||Java Servlets Interview Questions|
|JMS(Java Message Service) Interview Questions||Hibernate Interview Questions|
|Java applet Interview Questions||Java Interview Questions|
|Framework7 Interview Questions||Java collections framework Interview Questions|
|Java 8 Interview Questions||Java Programmer Interview Questions|
Introduction To Spring Framework
New Features And Enhancements In Spring 3.0
The Ioc Container
Validation, Data Binding, And Type Conversion
Spring Expression Language (spel)
Aspect Oriented Programming With Spring
Spring Aop Apis
Data Access With Jdbc
Object Relational Mapping (orm) Data Access
Marshalling Xml Using O/x Mappers
Web Mvc Framework
Integrating With Other Web Frameworks
Portlet Mvc Framework
Remoting And Web Services Using Spring
Enterprise Javabeans (ejb) Integration
Jms (java Message Service)
Task Execution And Scheduling
Dynamic Language Support
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.