Email web hosting - Editing message-driven bean deployment descriptors Editing message-driven bean
Editing message-driven bean deployment descriptors Editing message-driven bean deployment descriptors The following section describes working with the pages that appear for all servers, no matter which server is your target. To see information about server-specific pages, display the page, then press F1. To begin editing the deployment descriptors for a message-driven bean, double-click the bean name in the structure pane. The following page appears: The page includes these fields; fill them in with the pertinent information: Name: . EJB Class: The fully-qualified name of the Java class that implements the bean s business methods. This information must be specified. Transaction Type: Select from the drop-down list whether the bean s transactions are managed by the bean itself or by the container. Acknowledgement Mode: Select the acknowledgement mode from the drop-down list. Your choices are Dups-ok-acknowledge or Auto-acknowledge. The Auto- acknowledge means that all messages the bean receives are acknowledged and a check is performed to prevent acting on duplicate messages. The Dups-okacknowledge option means that all messages are acknowledged, including duplicate messages if they should occur. This field is enabled only if you selected Bean as the transaction type. Message Selector: The message selector that determines which messages the message-driven bean should receive. Here is an example: JMSType = ‘chair’ AND color = ‘black’ AND fabric = ‘leather’ See the JMS specification on Sun Microsystems web site at http://java.sun.com/products/jms/docs.html for more information. Destination Type: Indicates whether a message-driven bean is intended for a Queue or a Topic. Subscription Durability: Indicates whether the bean s subscription to a topic is durable or nondurable. This field is enabled only if you selected Topic as the destination type. All of the Display Information is optional. Display Name: The name you want used to identify the bean for display purposes. Description: A description of the bean. 132 Developing Applications with Enterprise JavaBeans
We are the the largest streaming host company, and we provide professional audio & video web hosting streaming using Real Networks, QuickTime, Flash and Windows Media.We strongly recommend you to visit and check web hosting streaming services.