JMS « J2EE « JSP-Servlet Q&A

1. JMS vs MDB?

2. Help in MDB with javax.jms

The MDB is not accessible outside the container unless you deploy the stand alone client in an EAR or you access the JNDI context by specifying the ORB host and port which varies on application server implementation. You could try packaging the app client in an EAR so that it can deployed within the container and have access to the context ...

3. Authentication JMS/MDB

4. Websphere MQ Vs JMS Queue

5. JMS - MDB

7. JMS without MDB?

8. JMS or JCA or Webservice ?

9. MDB and Password protected JMS Queue

Hi, We have successfully configured a Foreign JMS Server on our Weblogic and would like to configure a MDB to listen on a Queue. The queue is on the foreign server as well and it is password protected. How can I supply the userName and password credentials to the MDB so that weblogic invokes a connection with userName and Password. Now, ...

10. MDB binding to foreign JMS destination

11. One JMS queue and multiple MDB

12. Error while using MDB with JMS

Hi All, I am getting following error while using MDB 3.0 with JMS. I am using weblogic as a server. Here is my mdb and jms sender. package ejb30; import javax.ejb.MessageDriven; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.TextMessage; import javax.ejb.ActivationConfigProperty; @MessageDriven( activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue") , @ActivationConfigProperty(propertyName="connectionFactoryJndiName",propertyValue="jms/myCF"), @ActivationConfigProperty(propertyName="destinationJndiName", propertyValue="jms/myQueue") } ,mappedName="jms/myQueue" ) public class MyMDB ...

14. executing JMS program using Weblogic 11g

Hi, I am new to JAVA and I have been trying to execute a very simple JMS program using weblogic 11g. I am not still clear with the configuration steps in weblogic console or with all the steps to be incorporated before running the program using cmd prompt. I found a post in this forum where somebody explained executing JMS codes ...

15. MDB : destinationName property for JMS queue at runtime

This is the actual code: //SENDER @Stateless public class MyEJB implements IMyEJB{ @Resource(name="jms/MQConnectionFactory") private ConnectionFactory connectionFactory; //@Resource(name="jms/MyQueue") private Destination destination; Instead of use static destination (@Resource(name="jms/MyQueue")) I have multiple possibility of destination and so I read destination name from properties file (for example). The Message Driven Bean : //CONSUMER @MessageDriven( activationConfig = { @ActivationConfigProperty( propertyName = "destinationType", propertyValue = "javax.jms.Queue" ) ...