![]() |
|
Table 1: MDB Validation
| Validation Condition | Error Messages |
|---|---|
| MDB: Implements MessageDriven Bean Interface | BeanName: Does not implement javax.ejb.MessageDrivenBean interface. |
| MDB: Implements MessageListener Interface | Bean Name: Does not implement the javax.jms.MessageListener |
| ejbCreate Method: Return type | BeanName: Return type should be void. |
| ejbCreate Public | BeanName: ejbCreate should be declared public. |
| ejbCreate: Not Final | BeanName: ejbCreate should not be declared final. |
| ejbCreate: Not Static | BeanName: ejbCreate should not be declared static. |
| ejbCreate: Return type | BeanName: ejbCreate should return void. |
| ejbRemove: Public, Not Final and Not Static | BeanName: ejbRemove not declared as required. |
| MDB: Transaction attribute | BeanName: MDB can have either Required/NotSupported as Transaction attribute. |
| MDB: Selector | BeanName: The Message Selector for the MDB should be valid. |
| © Pramati Technologies 2007 | Runs on Pramati Server | Feedback | Legal |