
Enterprise JavaBeans
JMS and
Message-Driven Bean
Compare Message-Driven Bean with
Active Index Cell
Similarity:
- Both Message-Driven Bean and Index Cell are software components that can
consume and process messages.
- A message bean can communicate with another message bean by sending
message, also a IC can send message to another IC
- Both message bean and IC can invoke methods to do an action.
Difference:
- In a valid lifecycle, IC can change its state by receiving messages, while
a message bean does not have a state during alive.
กก