sun-ejb-jar.xml Visual Editor: Message Bean
See Also
You get to this pane by expanding the Sun Configuration node in the sun-ejb-jar.xml
visual editor and clicking the message bean node (
).
This pane of the visual editor lets you edit the sun-ejb-jar deployment descriptor entries
for message-driven beans. In addition to the general bean properties, this pane contains the following message bean configuration tabs:
General Bean Properties
Each EJB has the following elements:
- Name. The name field contains the name of the bean. This name cannot be changed in the visual editor.
- JINDI name.
This specifies the absolute JNDI name of the session bean. In the case of session beans, this name
specifies the global JNDI name of the EJBHome object. This name is required if the session bean exposes a remote view.
- Pass by Reference.
This specifies the passing method used by the enterprise bean
calling a remote interface method in another bean co-located within the same process.
The following three options are available:
- No value set (empty). When no value is set, the default passing method is used. The default is pass-by-value.
- True. When set to True, pass-by-reference semantics is used.
- False. When set to False, the enterprise bean uses pass-by-value semantics for calls to remote interfaces.
- Use of the Pass by Reference feature results in non-portable applications.
Message Bean Properties
The following message bean settings can also be modified:
- Jms Durable Subscription Name. In this field you specify the durable subscription associated
with a message-driven bean class.
This only applies to the Java Message Service Topic Destination type, and only when the
message-driven bean deployment descriptor subscription durability is Durable.
- Jms Max Messages Load. Specify the maximum number of messages to load
into a Java Message Service session at one time
for a message-driven bean to serve. The default is 1.
- Mdb Resource Adapter. In this section you set the resource adapter that is responsible for
delivering messages to the message-driven bean. Here you can set the properties for the following general elements:
- Resource Adapter Mid. Specify the module ID of the resource adapter that is responsible for
delivering messages to the message-driven bean.
- Resource Adapter Description. Specify a text description of the activation configuration.
You can set messaging-style-specific configuration properties in the Activation Config Property tab.
- See Also
- sun-ejb-jar.xml Visual Editor
Message Bean Configuration Tabs
Session Bean
Entity Bean
Sun Configuration
Web Service Descriptor
- About Message-Driven Beans
- Configuring EJB Deployment Descriptors
Legal Notices