Programming rules for creating MDB
MDB class must directly (using implements keyword) or indirectly (using annotation or descriptors) implement a message listener interface. Example, Using implements keyword Using annotation It is [...]
MDB class must directly (using implements keyword) or indirectly (using annotation or descriptors) implement a message listener interface. Example, Using implements keyword Using annotation It is [...]
@MessageDriven The @MessageDriven annotation is used to mark the class as Message-Driven Bean. This annotation’s specification is as follows. @Target(value=TYPE) @Retention(value=RUNTIME) [...]
Environment Used JDK 6 (Java SE 6) JMS Sender/Client – Java Application Client (main()) JMS Consumer – EJB 3.0 Message Driven Bean (MDB) Eclipse Indigo IDE for Java EE Developers (3.7.1) [...]