The code for other EJB types is similar, except for the trans-attribute attribute that is set to Required for stateless beans and to RequiresNew for the identifier-generating bean.
其他EJB类型的代码相似,只有trans-attribute属性除外,对于无状态bean它被设置为Required,对于标识符生成 bean 被设置为RequiresNew。
Attribute: attribute assertion provides a mechanism for associating specific attributes with a given subject.
属性:属性断言提供联系特定属性与给定主体的一种机制。
Attribute: attribute assertion provides a mechanism for associating specific attributes with a given subject.
属性:属性断言提供联系特定属性与给定主体的一种机制。
应用推荐