This graphic summarizes message service configuration options. You can use annotations or XML. If you use annotations, you can use @MessageDriven or @MessageDrivenDeployment. If you use @MessageDriven, you can use only @ActivationConfigProperty annotations. If you use @MessageDrivenDeployment, you can use either @ActivationConfigProperty annotations or attributes: @ActivationConfigProperty annotations are preferred. @MessageDrivenDeployment configuration overrides @MessageDriven and @ActivationConfigProperty configuration overrides attributes. If you use XML, you can use ejb-jar.xml or orion-ejb-jar.xml. If you use ejb-jar.xml, you can use only <activation-config-property> elements. If you use orion-ejb-jar.xml, you can use iether <config-property> elements or attributes: <config-property> elements are preferred. orion-ejb-jar.xml configuration overrides ejb-jar.xml and <config-property> configuration overrides attributes.