javax.ejb
Annotation Type Stateful


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

Defined the class annotated by Stateful annotation as a stateful bean.

Since:
EJB 3.0 version.
Author:
Florent Benoit
See Also:
EJB 3.0 specification

Optional Element Summary
 java.lang.String description
          Description of this bean.
 java.lang.String mappedName
          JNDI name used for the registry.
 java.lang.String name
          Name of this bean.
 

name

public abstract java.lang.String name
Name of this bean.

Default:
""

mappedName

public abstract java.lang.String mappedName
JNDI name used for the registry.

Default:
""

description

public abstract java.lang.String description
Description of this bean.

Default:
""


Copyright © 2008. All Rights Reserved.