For a JMS producer application, perform the basic steps
contained in this topic.
- Retrieve a connection factory object from a JNDI repository.
- Create a connection using the connection factory object.
- Create a session using the connection object.
- Retrieve a destination object from a JNDI repository.
Note: For the Beta release, only topic
destinations are supported.
- Use the session object and the destination object to create
a message producer.
- Use the session object to create a message object.
- Use the message producer to send messages to the destination.