Author |
Message
|
tapak |
Posted: Mon Dec 05, 2005 1:28 pm Post subject: Can transactions in EJBS include MQ Series client calls |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Can a Message Driven Bean include MQSeries client calls in transaction without using Xtended Transaction client feature . For example I am having a MQSeries server and a Websphere Application Serverrunning in different AS/400 machines . EJBS or Java applications deployed in WAS is connecting to MQ using client connections . Can the Java application include MQSeries client calls in transaction without having the Xtended Transaction Client . _________________ IBM Certified Solution Designer -- WebSphere MQ V5.3
IBM Certified Solution Designer -- WebSphere Business Integration - Message Broker V5
IBM Certified Specialist -- IBM WebSphere App Svr Advd Single Svr Ed. for Multiplatforms (Java) |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Dec 05, 2005 5:08 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can use single-phase transactions with the MQ Client.
You can't use Coordinated transactions, or XA transactions, without the ETC. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
tapak |
Posted: Tue Dec 06, 2005 11:34 am Post subject: |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Thanks for the quick reply . Does the extended transaction client need to be bought separately or does it come with Websphere Application Server installation ? _________________ IBM Certified Solution Designer -- WebSphere MQ V5.3
IBM Certified Solution Designer -- WebSphere Business Integration - Message Broker V5
IBM Certified Specialist -- IBM WebSphere App Svr Advd Single Svr Ed. for Multiplatforms (Java) |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Dec 06, 2005 11:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's a seperate product.
It costs just as much as the license for an MQServer, in almost all cases.
A lot of people opt for putting servers where they need ETC, because of this. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
tapak |
Posted: Tue Dec 06, 2005 12:01 pm Post subject: |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Thanks Jeff . Is there any other way to do two phase commit involving MQ calls in Websphere App Server without using ETC ? _________________ IBM Certified Solution Designer -- WebSphere MQ V5.3
IBM Certified Solution Designer -- WebSphere Business Integration - Message Broker V5
IBM Certified Specialist -- IBM WebSphere App Svr Advd Single Svr Ed. for Multiplatforms (Java) |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Dec 06, 2005 12:02 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
tapak wrote: |
Thanks Jeff . Is there any other way to do two phase commit involving MQ calls in Websphere App Server without using ETC ? |
Yes.
Install a queue manager on the same physical machine as WAS. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
tapak |
Posted: Tue Dec 06, 2005 12:45 pm Post subject: |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Thanks . I was checking if there is another way to manage 2 phase commit on using mqseries client connection. _________________ IBM Certified Solution Designer -- WebSphere MQ V5.3
IBM Certified Solution Designer -- WebSphere Business Integration - Message Broker V5
IBM Certified Specialist -- IBM WebSphere App Svr Advd Single Svr Ed. for Multiplatforms (Java) |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Dec 06, 2005 1:31 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
tapak wrote: |
Thanks . I was checking if there is another way to manage 2 phase commit on using mqseries client connection. |
Well.
The answer is no.
IBM wouldn't really be able to charge for the ETC if you could do this without the ETC. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
tapak |
Posted: Tue Dec 06, 2005 1:52 pm Post subject: |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Very good marketing strategy .  _________________ IBM Certified Solution Designer -- WebSphere MQ V5.3
IBM Certified Solution Designer -- WebSphere Business Integration - Message Broker V5
IBM Certified Specialist -- IBM WebSphere App Svr Advd Single Svr Ed. for Multiplatforms (Java) |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 06, 2005 9:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jefflowrey wrote: |
tapak wrote: |
Thanks . I was checking if there is another way to manage 2 phase commit on using mqseries client connection. |
Well.
The answer is no.
IBM wouldn't really be able to charge for the ETC if you could do this without the ETC. |
Not quite. You would have to use WMQ 6.0 and use the internal WAS JMS provider. You can then do a 2 phase commit to the WAS JMS provider and set up an MQ connection that will act as a qmgr to qmgr connection.
Enjoy  |
|
Back to top |
|
 |
tapak |
Posted: Tue Dec 06, 2005 9:53 pm Post subject: |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Does the JMS Provider for WAS 5.0 provide 2 phase commit with WMQ6.0 . Is there a place I can find more details on configuring internal JMS provider to support 2 phase commit. _________________ IBM Certified Solution Designer -- WebSphere MQ V5.3
IBM Certified Solution Designer -- WebSphere Business Integration - Message Broker V5
IBM Certified Specialist -- IBM WebSphere App Svr Advd Single Svr Ed. for Multiplatforms (Java) |
|
Back to top |
|
 |
tapak |
Posted: Mon Dec 12, 2005 11:17 am Post subject: |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Are you mentioning about the embedded messaging server which comes with WAS. If yes , does XA transaction work by installing only embedded messaging client .
fjb_saper wrote: |
jefflowrey wrote: |
tapak wrote: |
Thanks . I was checking if there is another way to manage 2 phase commit on using mqseries client connection. |
Well.
The answer is no.
IBM wouldn't really be able to charge for the ETC if you could do this without the ETC. |
Not quite. You would have to use WMQ 6.0 and use the internal WAS JMS provider. You can then do a 2 phase commit to the WAS JMS provider and set up an MQ connection that will act as a qmgr to qmgr connection.
Enjoy  |
_________________ IBM Certified Solution Designer -- WebSphere MQ V5.3
IBM Certified Solution Designer -- WebSphere Business Integration - Message Broker V5
IBM Certified Specialist -- IBM WebSphere App Svr Advd Single Svr Ed. for Multiplatforms (Java) |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Dec 12, 2005 2:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Sorry you'll need WAS 6.0 the internal WAS 5.x JMS provider is a clone of Websphere MQ and is not capable of the same features as the internal JMS provider of WAS 6.0 (Persistency store = DB)
Enjoy  |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Dec 12, 2005 4:42 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
But I don't think you can use the WAS 6 JMS provider to run an MDB against a qlocal on a WebSphere MQ QM... can you?
You'd have to bridge the two, and execute the MDB against the JMS queue... ? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Dec 12, 2005 8:39 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jefflowrey wrote: |
But I don't think you can use the WAS 6 JMS provider to run an MDB against a qlocal on a WebSphere MQ QM... can you?
You'd have to bridge the two, and execute the MDB against the JMS queue... ? |
Sure but you get transactional behavior the whole way through...  |
|
Back to top |
|
 |
|