Where am I going wrong with JMS?
Im trying to create a simple Publish/Subscribe implementation using JMS for an application I am developing. I have some sample code to create a single topic and publish a few messages and a simple subscriber to subscribe to the topic and print the messages to the terminal.
The tutorial was for j2ee 1.3 but I am using 5 now. The 1.3 example says I do the following:
1. compile the code
2. start the server
3. create the topic using j2eeadmin -addJmsDestination MyTopic topic
4. run the clients using java -Djms.properties=%J2EE_HOME%\config\jms_client.properties SimpleTopicSubscriber MyTopic and the same for the SimpleTopicPublisher
However when I read the documentation for java 1.5 the implementation seems to be totally different. I have compiled the code and started the server but where do I go from there? The examples on the java ee 5 only show how to use ant to do this but how do I do it just using the class files?
Any help would be greatly appreciated.

