April 2002
Beginner to intermediate
1128 pages
26h 33m
English
| Q1: | What are the major differences between Message-driven beans and Entity or Session beans? |
| A1: | Message-driven beans have no client interface; they have no Home, Local, or Remote interfaces—their methods cannot be called directly. Message-driven beans exist only to consume JMS messages and are controlled by the container. They are anonymous and are called asynchronously. They do not have a passive state. They have no client security context. |
| Q2: | What are the two interfaces a Message-driven bean must implement? |
| A2: | The javax.ejb.MessageDrivenBean interface and the javax.jms.MessageListener interface. |
| Q3: | What is the Method Ready Pool? |
| A3: | The Method Ready Pool is the collection of Message-driven bean instances that are available in the container ... |
Read now
Unlock full access