Is Message Driven Beans available in EJB 1.0?
Hello!This is an urgent question that I need an answer to. Is Message Driven Beans available in EJB 1.0?
Our customer just recently realized that they only have license for EJB 1.0 and we got a solution build on Message Driven Beans.
I have a small memory that I have read that MDB is only available in EJB 2.0.
If it is only available in EJB 2.0 I would love to get some suggestions for some other solution.
One solution is of course to buy the license for EJB 2.0 (I did not know that you need to buy this), but if there is any other suggestion please let me know.
Best regards
Fredrik
Below is a snapshot of our ejb-jar.xml. Correct me if I'm wrong when I say that it is in this file we specify EJB 1 or EJB 2.
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<!-- Generated XML! -->
<ejb-jar>
<enterprise-beans>
<message-driven>
<ejb-name>ReportManagerMDB</ejb-name>
<ejb-class>jms.controller.ReportManagerMDB</ejb-class>
<transaction-type>Container</transaction-type>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Topic</destination-type>
</message-driven-destination>
</message-driven>
</enterprise-beans>
