web server - Borland Technical Publications

web server - Borland Technical Publications web server - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
12.11.2014 Views

Enabling the JMS services security Enabling the JMS services security Refer to Chapter 24, “JMS provider pluggability” for vendor-specific information on JMS services such as security. Advanced Concepts for Configuring JMS Connection Factories and Destinations All resource objects, JDBC Datasources, JMS Connection Factories and JMS Destinations, are defined in a DAR module using a jndi-definitions.xml descriptor. Module default-resources.dar, predeployed in all BES partitions, contains some default Connection Factories, Topics and Queues, defined for the bundled JMS service. You can edit these existing definitions to suit your environment or create new definitions using the DDEditor. JMS connection factories, similar to JDBC datasources, are classes that wrap the connection factory classes provided by JMS vendors. If you want to use a JMS vendor not bundled or certified to work with BES, you need to deploy that vendor's connection factory classes to your Partition. The jndi-definitions.xml descriptor DTD shows the relevant element, in bold: The element can be used to define a JMS connection factory or a JMS destination for deployment under JNDI. In this element, you specify the following: ■ ■ ■ jndi-name: this is the name that will be looked up under JNDI and from which a JMS connection factory or JMS destination is resolved. class-name: this is the vendor specific connection factory or destination class name. The class should be deployed as a library archive in your Partition only if a deployed component performs JNDI lookups for JMS resource objects of this vendor. properties: these are properties specific to BES and the JMS provider required to construct actual JMS resource object. Refer to Chapter 24, “JMS provider pluggability” for vendor-specific information on JMS queues. Chapter 23: Using JMS 219

220 BES Developer’s Guide

220 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!