ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » How to Connect Standalone Java App with MQ

Post new topic  Reply to topic
 How to Connect Standalone Java App with MQ « View previous topic :: View next topic » 
Author Message
skrv
PostPosted: Mon Jan 06, 2014 10:46 am    Post subject: How to Connect Standalone Java App with MQ Reply with quote

Centurion

Joined: 26 Oct 2012
Posts: 118

Hello,

There is a standalone java application running on ABC server and MQ7 also installed on that ABC server. Application don't want to use WAS to connect to MQ.

How to connect this application to MQ?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Jan 06, 2014 11:07 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

Install the free MQ Client on the server.

Then review this section in the InfoCenter on how to get started with WebSphere MQ classes for Java:
http://pic.dhe.ibm.com/infocenter/wmqv7/v7r5/topic/com.ibm.mq.dev.doc/q030530_.htm
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
skrv
PostPosted: Mon Jan 06, 2014 12:42 pm    Post subject: Reply with quote

Centurion

Joined: 26 Oct 2012
Posts: 118

without installing MQ client, can the application connect to MQ? Because we already have MQ server 7 software installed on that server where application is running.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Jan 06, 2014 12:56 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9405
Location: US: west coast, almost. Otherwise, enroute.

Look at the 2nd bullet item here http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.csqzaw.doc%2Fja10260_.htm
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jan 06, 2014 12:58 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

skrv wrote:
without installing MQ client, can the application connect to MQ? Because we already have MQ server 7 software installed on that server where application is running.


You could create a binding connection.

But if the server software is installed, it's likely the client was installed at the same time.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
skrv
PostPosted: Mon Jan 06, 2014 1:04 pm    Post subject: Reply with quote

Centurion

Joined: 26 Oct 2012
Posts: 118

MQ Client is not installed as we don't allow client connections.

This Java app can't use MQ client and don't want to use WAS.

I think they can still connect to MQ queue manager using Bindings Mode.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Mon Jan 06, 2014 3:00 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

MQ Client is any way free, binding files are easy to get it created, you have to make a little bit changes in your code to work with context factories
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to Connect Standalone Java App with MQ
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.