Source Code : EJB Tutorial from JBoss: Deployment descriptor

Java Is Open Source Programming Language You Can Download From Java and Java Libraries From http://www.oracle.com. Click Here to download
We provide this code related to title for you to solve your developing problem easily. Libraries which is import in this program you can download from http://www.oracle.com. Click Here or search from google with Libraries Name you get jar file related it

EJB Tutorial from JBoss: Deployment descriptor


File: jboss.xml

<?xml version="1.0"?>
<jboss
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                            http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
        version="3.0">
  <enterprise-beans>
    <consumer>
          <ejb-name>ExampleConsumer</ejb-name>
           <ejb-class>org.jboss.tutorial.consumer_deployment_descriptor.bean.ExampleConsumerBean</ejb-class>
           <message-destination>queue/tutorial/example</message-destination>
         <message-destination-type>javax.jms.Queue</message-destination-type>
           <producer>
              <class>org.jboss.tutorial.consumer_deployment_descriptor.bean.ExampleProducerRemote</class>
           </producer>
           <local-producer>
              <class>org.jboss.tutorial.consumer_deployment_descriptor.bean.ExampleProducerXA</class>
              <connection-factory>java:/JmsXA</connection-factory>
           </local-producer>
           <local-producer>
        <class>org.jboss.tutorial.consumer_deployment_descriptor.bean.ExampleProducerLocal</class>
           </local-producer>
           <current-message>
        <method>
                   <method-name>currentMessage</method-name>
              </method>
           </current-message>
           <message-properties>
        <method>
             <method-name>method2</method-name>
            </method>
        <delivery>NonPersistent</delivery>
           </message-properties>
         </consumer>
  </enterprise-beans>
</jboss>



           
       

Thank with us