Wrox Home  
Search P2P Archive for: Go

  Return to Index  

enterprise_java_beans thread: Deployment of message driven bean on Weblogic server6.1


Message #1 by "Anuj Chauhan" <anuj@m...> on Tue, 5 Mar 2002 11:29:15
Try these, but they're very basic I'm afraid:

<?xml version="1.0"?>

<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

<ejb-jar>
  <enterprise-beans>
    <message-driven>
      <ejb-name>eaimsg_DisableAccounts</ejb-name>
      <ejb-class>msg.DisableAccountsBean</ejb-class>
      <transaction-type>Container</transaction-type>
      <message-driven-destination>
        <destination-type>javax.jms.Topic</destination-type>
      </message-driven-destination>
    </message-driven>
  </enterprise-beans>
</ejb-jar>


<?xml version="1.0"?>

<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0
EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">

<weblogic-ejb-jar>

  <weblogic-enterprise-bean>
    <ejb-name>eaimsg_DisableAccounts</ejb-name>
    <message-driven-descriptor>
      <destination-jndi-name>disableAccounts</destination-jndi-name>
    </message-driven-descriptor>
    <jndi-name>eaimsg-DisableAccounts</jndi-name>
  </weblogic-enterprise-bean>

</weblogic-ejb-jar>

You will of course have to configure your queue or topic seperately.

  Return to Index