When you develop Enterprise JavaBeans in WebLogic Workshop,
you will
notice
special Javadoc
tags with the prefix ejbgen in the source
view of the bean class. Instead of using separate classes for the various
interfaces and instead of directly changing the deployment descriptor, ejbgen tags
reduces to one the number of EJB files you need to edit and maintain during
development. When you build an Enterprise JavaBeans, these tags are used
to generate the
various 'J2EE-standard' files for remote and home interfaces, and the appropriate
deployment descriptors.
Topics Included in This Section
@ejbgen:automatic-key-generation Annotation
In a CMP entity bean, specifies how primary keys are auto-generated.
@ejbgen:cmp-field Annotation
In a CMP entity bean, marks a CMP field.
@ejbgen:cmr-field Annotation
In a CMP entity bean, marks a CMR field.
@ejbgen:compatibility Annotation
In a CMP entity bean, specifies compatibility settings
with prior versions of WebLogic.
@ejbgen:create-default-dbms-tables Annotation
This tag is deprecated. Please use the @ejbgen:jar-settings attribute create-tables.
@ejbgen:ejb-client-jar Annotation
This tag is deprecated; please use @ejbgen:jar-settings attribute ejb-client-jar
@ejbgen:ejb-interface Annotation
This tag specifies the EJB interface the bean implements.
In most cases this tag does not need to be used.
@ejbgen:ejb-local-ref Annotation
This tag maps a JNDI reference used within a bean to
the referenced bean's local interfaces.
@ejbgen:ejb-ref Annotation
This tag maps a JNDI reference used within a bean to
the referenced bean's remote interfaces.
@ejbgen:entity-cache-ref Annotation
This tags specifies a reference to an application-level
entity cache.
@ejbgen:entity Annotation
This tag defines the class-scope properties of an entity
bean.
@ejbgen:env-entry Annotation
This tag specifies environment entries for an EJB.
@ejbgen:file-generation Annotation
This tag specifies the interface, compound primary
key, and value classes that are to be auto-generated during build.
@ejbgen:finder Annotation
This tag specifies a finder method for a CMP entity bean.
@ejbgen:foreign-jms-provider Annotation
This tag specifies a non-BEA JMS provider for a message-driven
bean.
@ejbgen:jar-settings Annotation
In an EJB project, specifies JAR and table management
settings.
@ejbgen:jndi-name Annotation
This tag specifies the local and remote JNDI names
of an EJB.
@ejbgen:local-home-method Annotation
This tag defines the methods for an entity bean's local
home interface.
@ejbgen:local-method Annotation
This tag defines the methods for an entity or session
bean's local (business) interface.
@ejbgen:message-driven Annotation
This tag defines the class-scope properties of a message-driven
bean.
@ejbgen:method-isolation-level-pattern Annotation
This tag specifies the transaction isolation level for
methods matching a given pattern.
@ejbgen:method-permission-pattern Annotation
This specifies security roles authorized to invoke the
methods matching a given pattern.
@ejbgen:relation Annotation
This tag specifies an entity relationship between two
CMP entity beans.
@ejbgen:relationship-caching-element Annotation
This tag specifies an eager relationship loading definition.
@ejbgen:remote-home-method Annotation
This tag defines the methods for the entity or session
bean's local home interface.
@ejbgen:remote-method Annotation
This tag defines the methods for an entity bean's remote home interface.
@ejbgen:resource-env-ref Annotation
This tag maps a JNDI reference used within a bean to an
administered object associated with an external resource.
@ejbgen:resource-ref Annotation
This tag maps a JNDI reference used within a bean to an
external resource connection factory.
@ejbgen:role-mapping Annotation
This tag defines an EJB-scoped security role used by the
beans in an EJB Project.
@ejbgen:security-role-ref Annotation
This tags maps a reference to a security role used in
the bean code to an EJB-scoped security role defined in the
EJB project.
@ejbgen:select Annotation
This tag specifies a select method for a CMP entity
bean.
@ejbgen:session Annotation
This tag defines the class-scope properties of a session
bean.
@ejbgen:value-object Annotation
This tag specifies whether EJB object references in a
generated value object should be represented as a value object or a local
interface.
Related Topics
WebLogic Workshop Annotations
Reference