Author |
Message
|
mq_guru |
Posted: Fri Aug 27, 2004 8:51 am Post subject: Client Conn or Server Con .... |
|
|
Novice
Joined: 23 Feb 2004 Posts: 13
|
Which one of these is the best to use. And why |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Aug 27, 2004 8:59 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can't use one without the other. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Aug 27, 2004 9:46 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Unless he is asking about client connection vs. bindings? |
|
Back to top |
|
 |
leongor |
Posted: Sat Aug 28, 2004 11:00 pm Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
Basically client sonnection is better : you don't have 4MB limitation for a message.
Also using client channel table gives you ability for connection failover.
If you code in Java you can use only server connection. _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Aug 29, 2004 8:15 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Sorry Leonid
Java will allow you to use a bindings connection or a client connection.
Apart from a few security holes that you will have to plug...
What you cannot use with Java is the client Channel table in the same way you'd be using it in C. You will have to code a number of things and cannot rely on automatic failover...
Enjoy
F.J. |
|
Back to top |
|
 |
gunter |
Posted: Sun Aug 29, 2004 10:54 pm Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
binding
- significant faster
- easier to handle, no configuration is needed
- less error codes to handle by the applications
- the application has to run on the machine where the queuemanager is running
client:
- the client can be installed at all systems in the network where a supportet os is running.
- the application can use a different os than the queuemanager
If your application has to use a different machine than the queuemanager or this aspect is unclear, use client connection.
If it's clear, that the application uses the same machine, use bindings.
More flexible is to load client or server libs dynamically, but this more work for the programmer. _________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
Back to top |
|
 |
|