Previous UML Classes Table of Contents UML Packages Next


D.1 J2EE/EJB Component Profile Example

    Table D.1 shows an example profile for Enterprise Java Beans components.

   Table D.1 - Example Profile for Enterprise Java Beans Table D.1 - Example

Stereotype

Base Class

Parent

Tags

Constraints

Description

EJBEntityBean «EJBEntityBean» Component N/A N/A N/A Indicates that a Component represents an EJB Entity Bean, a component that manages the business logic of an application.
EJBSessionBean «EJBSessionBean» Component N/A N/A N/A Indicates that a Component represents an EJB Session Bean, a component that processes transactions.
EJBMessage DrivenBean «EJBMessage DrivenBean» Component N/A N/A N/A Indicates that a Component represents an EJB Message-Driven Bean, a component that handles messages, and is invoked on the arrival of a message.
EJBHome «EJBHome» Interface N/A N/A N/A Indicates that the Interface is an EJB Home interface that supports lifecycle and class-level operations.
EJBRemote «EJBRemote» Interface N/A N/A N/A Indicates that the Interface is an EJB Remote interface that supports business-specific operations.
Issue 8613 -‘Remote’ to ‘Service’ EJBService «EJBService» Interface N/A N/A N/A Indicates that the Interface is an EJB Service interface that is exposed as a webservice definition.
EJBCreate «EJBCreate» Method N/A N/A N/A Indicates that the Method is an EJB Create Method that facilitates a create operation.
EJBBusiness «EJBBusiness» Method N/A N/A N/A Indicates that the Method is an EJB instance-level method that supports the business logic of the EJB associated with the Remote interface.
EJBSecurityRoleRef «EJBSecurity RoleRef» Association N/A N/A N/A Indicates an Association between an EJB client and an EJB Role Name Reference supplier.

    Profile for Enterprise Java Beans

Stereotype

Base Class

Parent

Tags

Constraints

Description

EJBRoleName «EJBRoleName» Actor N/A N/A N/A Indicates the name of a security role used in the definitions of method permissions, etc.
EJBRoleNameRef «EJBRoleNameRef» Actor N/A N/A N/A Indicates the name of a security role reference used programmatically in an EJB’s source code and mapped to an EJB Role Name.
JavaSourceFile «JavaSourceFile» Artifact «file» N/A N/A Indicates that the Artifact represents a Java source file.
JAR «JAR» Artifact «file» N/A N/A Indicates that the Artifact represents a JAR (Java ARchive) file.
EJBQL «EJBQL» Expression N/A N/A N/A Indicates that the expression conforms to the EJB Query Language syntax.