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.
User wants to create a new MDB.
Basic Flow
+--------------------------------------------------------------------------------------------------+ | 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 | | +--------------------------+-----------------------------------------------------------------------+
+-----------------------------------------------------------+ | Add Message Destination | +-----------------------------------------------------------+ | | | Destination Name : |________________________________| | | | | Destination Type : (o) Queue | | ( ) Topic | | | | | OK | | CANCEL | | HELP | | +-----------------------------------------------------------+