Migration from EJBDoclet to XDoclet

This page shows you which tags have been removed from EJBDoclet, and wich tags you should use instead.

Class Level

Old TagOld ParameterApplicableNew Tag
@ejb:ejb-name name: String All@ejb.bean
@ejb:entity-cmpEntity@ejb.bean
@ejb:cmp-version version: String Entity (2.0)@ejb.bean cmp-version=
@ejb:entity-bmpEntity@ejb.bean
@ejb:stateless-sessionStateless Session@ejb.bean
@ejb:stateful-sessionStateful Session@ejb.bean
@ejb:message-drivenMessage Driven@ejb.bean
@ejb:transaction-type type: "Bean" | "Container" Session@ejb.bean transaction-type=
@ejb:data-container value: "true" | false Entity@ejb.data-object
@ejb:data-method value: "true" | "false" Entity@ejb.data-object
@ejb:data-equals value: "true" | "false" Entity@ejb.data-object
@ejb:data-implements interface1 [, interface2[, interfaceN]] Entity@ejb.data-object
@ejb:data-extends base-class-name: String Entity@ejb.data-object
@ejb:remote-extends base-class-name: String All@ejb.interface extends=
@ejb:home-extends base-class-name: String All@ejb.home extends=
@ejb:pk-extends base-class-name: String Entity@ejb.pk extends=
@ejb:pk-implements base-class-name: String Entity@ejb.pk implements=
@ejb:pk-serial name: String Entity@ejb.pk serial=
@ejb:pk-field type: String, name: String Entity Beans@ejb.pk
@ejb:acknowledge-mode mode: "Auto-acknowledge" | "Dups-ok-acknowledge" Message Driven@ejb.bean acknowledge-mode=
@ejb:destination-type type: "javax.jms.Queue" | "javax.jms.Topic" Message Driven@ejb.bean destination-type=
@ejb:subscription-durability durability: "Durable" | "NonDurable" Message Driven@ejb.bean subscription-durability=
@ejb:message-selector selector: String Message Driven@ejb.bean message-selector=
@jboss:finder-orderExample:

@jboss:finder-order findFoo foo,bar

CMP through JAWS@jboss.finder-query order=

Method Level

Old TagOld ParameterApplicableNew Tag
@ejb:remote-methodAll@ejb.interface-method view-type="remote"