<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee? <display-name>TextMDB</display-name>
? <enterprise-beans>
??? <message-driven>
????? <ejb-name>TextMDB</ejb-name>
????? <ejb-class>com.zte.mbean.TextMDBBean</ejb-class>
????? <messaging-type>javax.jms.MessageListener</messaging-type>
????? <transaction-type>Container</transaction-type>
????? <message-destination-type>javax.jms.Queue</message-destination-type>
????? <activation-config>
??????? <activation-config-property>
????????? <activation-config-property-name>destinationType</activation-config-property-name>
????????? <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
??????? </activation-config-property>
????? </activation-config>
????? <resource-ref>
??????? <res-ref-name>jms/QCF</res-ref-name>
??????? <res-type>javax.jms.QueueConnectionFactory</res-type>
??????? <res-auth>Container</res-auth>
????? </resource-ref>
??? </message-driven>
? </enterprise-beans>
? <assembly-descriptor>
??? <container-transaction>
????? <method>
??????? <ejb-name>TextMDB</ejb-name>
??????? <method-name>*</method-name>
????? </method>
????? <trans-attribute>Required</trans-attribute>
??? </container-transaction>
? </assembly-descriptor>
</ejb-jar>
?
posted on 2006-04-24 19:17
崛起的程序員 閱讀(374)
評論(0) 編輯 收藏 所屬分類:
java