With out JMS Service provider can I run JMS application for PTP

Hi Guys

I am new to JMS Technology.

I download JMS API'S and Sample code from sun site.

In my classpath I had setup JMS.jar.

I compiled the program and while I am running program I ma getting the following error's.

Queue name is q1

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

Connection problem: 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

The Queue name is q1 is giving in arguments at runtime.Is that some Env. Variables I ahve to set up.

Please help me.

sara

[876 byte] By [saravanant] at [2007-9-26 7:19:42]
# 1
To use JMS you need a JMS provider's implementation (just as to use JDBC, you need a database provider's implementation of JDBC).
zaneparks at 2007-7-1 17:09:16 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...