Stateless (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.ejb Annotation Type Stateless


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Stateless

Component-defining annotation for a stateless session bean.


Optional Element Summary
 String description
           
 String mappedName
          A product specific name(e.g. global JNDI name) that this session bean should be mapped to.
 String name
          ejb-name for this bean.
 

name

public abstract String name
ejb-name for this bean.

默认值:
""

mappedName

public abstract String mappedName
A product specific name(e.g. global JNDI name) that this session bean should be mapped to. Application servers are not required to support any particular form or type of mapped name, nor the ability to use mapped names. The mapped name is product-dependent and often installation-dependent. No use of a mapped name is portable.

默认值:
""

description

public abstract String description
默认值:
""

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.