standalone « db2 « Java Database Q&A





1. Access DB2 database in standalone Java project    stackoverflow.com

I need to access DB2 database in plain standalone Java project. I cannot use datasource from container right? Do I need to write JDBC connection?

2. Distributed transaction with MQ And DB2 using java standalone    coderanch.com

Why do you need distributed tansactions here? You are just reading the messages from the MQ,and then persisting them in a DB. There's no publishing of messages happening here.Is there really any problem if your standalone java app is able to read a message from the MQ,but fails to persist it in the DB. Data integrity is not compromised here.So why ...