Modeling Message-Driven Bean Relationships

Message-driven beans can utilize other Java classes to fulfill their responsibilities and may be utilized themselves by others. This section discusses modeling of such aspects.

Modeling Message-Driven Bean Relationships with Other Classes

Like any other Java class, a message-driven bean may utilize other Java classes to perform its responsibilities. Such relationships are modeled as usual.

Message-Driven Bean and Other J2EE Technologies

The relationship between a message-driven bean and each of the other J2EE technologies is similar. Each (servlet, session bean, entity bean, etc.) must use a destination to communicate with the message-driven bean. As such, there are no distinctive modeling aspects.

Get Developing Enterprise Java Applications with J2EE™ and UML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.