I am using Websphere5.1 MQ.
In my application, i am able to communicate with MQ using application server.
But, my requirement is without using application server, i want to communicate with MQ.
Using simple
java program i want to communicate with MQ
While i am trying this, I am getting the following error
JNDI lookup failed: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an
applet parameter, or in an application resource file: java.naming.factory.initial
I want to know what are the step need to be done to communicate with MQ using simple java program uisng main method.