Overview

The jIvalo Framework uses AndroMDA custom cartridges to generate code. Stereotypes, Tagged Values and Constants are used to determing witch type code and artifacts are generated. Application service, Transfer Object and other patterns are defined in J2EE Core Patterns second edition.

Two class diagrams are used one for Business Domain and one for Deployment.

Definitions

Stereotypes .

  • DataSource
  • Entity
  • EntityRef
  • FinderMethod
  • Identifier
  • PersistentClass
  • ResourceRef
  • Service
  • ServiceRef
  • TypesafeEnum
  • TypesafeEnumConstant
  • TypesafeEnumConstantMethod
  • TypesafeEnumMethod
  • WebService
  • WebServiceOperation
  • XmlSchema

    DataSource

    Applied on: class in Deployment class diagram

    Used to define a javax.sql.DataSource resource.

    Entity

    Applied on: class

    Produces a tranfer object for data and for operations a POJO application service. Creates an XSD complete type definition.

    EntityRef

    Applied on: A dependency going into an PersistentClass

    Used to reference an entity from another entity or service.

    FinderMethod

    Applied on: PersistentClass operation

    Denotes this operation to perform a query on the underlying collection of entities, rather than execute business logic.

    Identifier

    Applied on: PersistentClass attribute

    Identifies an attribute as an identifier (primary key). Can be combined with other Identifier attributes (produces combined primary key an EJB primary key class).

    PersistentClass

    Applied on: Entity

    Produces a BMP EJB entity with DAO implementation.

    ResourceRef

    Applied on: A dependency going into a class having a stereotype of UserTransaction or DataSource, out of a Service or a PersistentClass in Deployment class diagram

    Used to reference a resource, like a DataSource from a service or entity bean.

    Service

    Applied on: class

    Produces a POJO application service and a Session EJB facade for it.

    ServiceRef

    Applied on: A dependency going into a Service

    Used to reference a service from an entity or another service.

    TypesafeEnum

    Applied on: class

    Produces type-safe Java enumeration objects.

    TypesafeEnumConstant

    Applied on: TypesafeEnum class attribute

    Denotes the attribute to typesafe enumeration contant.

    Attribute default value

    TypesafeEnumConstantMethod

    Applied on: TypesafeEnum class operation

    Denotes the attribute to typesafe enumeration contant.

    Attribute default value

    TypesafeEnumMethod

    Applied on: TypesafeEnum class operation

    Denotes the attribute to typesafe enumeration contant.

    Attribute default value

    WebServiceOperation

    Applied on: Service operation

    This is used in conjunction with the <<Service>> stereotype. Creates a WSDD service fragment for Service. Adds the method to the list of allowed methods which will be exposed as a web service.

    XmlSchema

    Applied on: Service operation

    Creates a WSDD service fragment for Service. Adds the method to the list of allowed methods which will be exposed as a web service.

Tagged Values

Constants

  • jndi-name

    jndi-name

    Applied on: DataSource

    Produces a jndi-name for required artifacts such as Application Server dependent deployment artifacts.