Hi,
At work, I've been asked to build a J2EE Application. The app. part is fine, and we would like to use MQ to source data out of our Datawarehouse (Oracle).
Unfortunately, we dont have the Oracle AS (Application Server) which I think comes with an adaptor to do this, so it looks like I will have to write my own MQ adaptor to connect to Oracle.
Any tips/ideas where to start ?
So far, my best thinking is like so:
1. Pass an XML message from the app to my adaptor
(Specify a table/view, criteria and columns or something)
2. Unpack that,
3. Execute a query against the database (using JDBC ?)
4. Package the result set in a flat XML name/value structure
5. Pass XML back through MQ to my app.
Does that sound do-able ? Any better ideas about how to handle this on a $0 budget ?
At work, I've been asked to build a J2EE Application. The app. part is fine, and we would like to use MQ to source data out of our Datawarehouse (Oracle).
Unfortunately, we dont have the Oracle AS (Application Server) which I think comes with an adaptor to do this, so it looks like I will have to write my own MQ adaptor to connect to Oracle.
Any tips/ideas where to start ?
So far, my best thinking is like so:
1. Pass an XML message from the app to my adaptor
(Specify a table/view, criteria and columns or something)
2. Unpack that,
3. Execute a query against the database (using JDBC ?)
4. Package the result set in a flat XML name/value structure
5. Pass XML back through MQ to my app.
Does that sound do-able ? Any better ideas about how to handle this on a $0 budget ?