ResourceReferenceBindingCreateJmsUI
Create JMS-based MDB UI Specification
The motivation is described in Resource Reference Binding document.
We would like a user to bind the message-driven bean (MDB) with a message destination. For this purpose, in MDB wizard, there is a possibility to select a message destination from destinations configured either in the module or on the target server.
Use Case
User wants to create a new MDB.
Basic Flow
- User invokes "New Message-Driven Bean" wizard.
- User selects a destination from the list of availabe project/server destinations. (A2)
- User finishes the wizard. New MBD is created and bound with the selected destination.
+--------------------------------------------------------------------------------------------------+ | New Message Driven Bean | +--------------------------+-----------------------------------------------------------------------+ | Steps | Name and Location | | ------------------------ | --------------------------------------------------------------------- | | | EJB Name : |'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''__| | | | | | | Project : |_EJBModule'''_''''''_''''''_''''''_''''''_''''''_''''''_'''__| | | | Location : |_Source_Packages'''_''''''_''''''_''''''_''''''_'''__|_v_| | | | Package : |'''_''''''_''''''_''''''_''''''_''''''_''''''_''''''_'''___|_v_| | | |-----------------------------------------------------------------------| | | (o) Project Destinations: |_SampleProjectDestination___|_v_| |Add...| | | | | | | ( ) Server Destinations: |_SampleServerDestination____|_v_| | | | | |--------------------------+-----------------------------------------------------------------------| | | < Back | | Next > | | Finish | | Cancel | | Help | | +--------------------------+-----------------------------------------------------------------------+
- A2. If there is no suitable destination, user may create a new one.
- A2.1. User hits 'Add...' button besides the 'Project Destinations' combobox. The 'Add Message Destination' dialog pops up.
- A2.2. User provides a unique destination name.
- A2.3. User selects the destination type - Queue or Topic.
- A2.4. User hits 'OK' button. The flow returns to the step 2, the created destination is selected.
+-----------------------------------------------------------+ | Add Message Destination | +-----------------------------------------------------------+ | | | Destination Name : |'''_''''''_''''''_''''''_''''''_''''''_'''__| | | | | Destination Type : (o) Queue | | ( ) Topic | | | | | OK | | CANCEL | | HELP | | +-----------------------------------------------------------+

