What are the different ways to transmit messages between two different applications programmatically in Java?
JMS(publish-scribe|topic , point-to-point|queue)
Web Services
When would you need to use the XA datasource and not a connection pool datasource ?
You need an XADataSource if you want to execute a Distributed Transaction. You should use XADataSource instead of DataSource if the application
1. Uses the Java Transaction API (JTA)
2. Includes multiple database updates within a single transaction
3. Accesses multiple resources, such as a database and the Java Messaging Service (JMS), during a transaction
4. Use the same connection pool on multiple servers
JMS(publish-scribe|topic , point-to-point|queue)
Web Services
When would you need to use the XA datasource and not a connection pool datasource ?
You need an XADataSource if you want to execute a Distributed Transaction. You should use XADataSource instead of DataSource if the application
1. Uses the Java Transaction API (JTA)
2. Includes multiple database updates within a single transaction
3. Accesses multiple resources, such as a database and the Java Messaging Service (JMS), during a transaction
4. Use the same connection pool on multiple servers
No comments:
Post a Comment