If the application directly calls an EJB remove method of an instance of
an enterprise Web Bean that is a stateful session bean and declares any
scope other than @Dependent, an UnsupportedOperationException is thrown.
If the scope is @Dependent, the application may call any EJB remove method
of an instance of the enterprise Web Bean, but then no parameters will be
passed to the method by the Web Bean manager
All session beans exposing an EJB 3.x client view and declared via an EJB
component defining annotation on the EJB bean class are Web Beans, and
thus no special declaration is required.
If the field type is an interface, the set of bean types contains the
field type, all interfaces it extends directly or indir- ectly and
java.lang.Object.
The set of API types for an enterprise Web Bean contains all local
interfaces of the bean that do not have wildcard type parameters or type
variables and their superinterfaces
The application context is shared between all servlet requests, web
service invocations, EJB remote method invocations, EJB timeouts and
message deliveries to message driven beans that execute within the same
application
The application scope is also active during any remote method invocation
of any EJB bean, during any call to an EJB timeout method and during
message delivery to any EJB message driven bean.
The application scope is also active during any remote method invocation
of any EJB bean, during any call to an EJB timeout method and during
message delivery to any EJB message driven bean.
The application scope is also active during any remote method invocation
of any EJB bean, during any call to an EJB timeout method and during
message delivery to any EJB message driven bean.
The built-in contexts do not propagate across remote method invocations or
to asynchronous processes such as JMS message listeners or EJB timer
service timeouts
The built-in contexts do not propagate across remote method invocations or
to asynchronous processes such as JMS message listeners or EJB timer
service timeouts
The Web Bean manager ensures that a long-running conversation may be
associated with at most one request at a time, by blocking or rejecting
concurrent requests.
The Context implementation is responsible for destroying any contextual
instance it creates by passing the instance to the destroy() method of the
Contextual object representing the contextual type.
Every invocation of the get() operation of the Context object for the @Dependent
scope with the value false for the create parameter returns a null value
Every invocation of the get() operation of the Context object for the @Dependent
scope with the value true for the create parameter returns a new instance
of the given Web Bean
when the Web Bean manager is injecting dependencies of an EJB bean or
Servlet or when an EJB bean @PostConstruct or @PreDestroy callback is
invoked by the EJB container
when the Web Bean manager is injecting dependencies of an EJB bean or
Servlet or when an EJB bean @PostConstruct or @PreDestroy callback is
invoked by the EJB container
when the Web Bean manager is injecting dependencies of an EJB bean or
Servlet or when an EJB bean @PostConstruct or @PreDestroy callback is
invoked by the EJB container
when the Web Bean manager is injecting dependencies of an EJB bean or
Servlet or when an EJB bean @PostConstruct or @PreDestroy callback is
invoked by the EJB container
when an instance of a Web Bean with scope @Dependent is created by the Web
Bean manager to receive a producer method, producer field, disposal method
or observer method invocation, or
when an instance of a Web Bean with scope @Dependent is created by the Web
Bean manager to receive a producer method, producer field, disposal method
or observer method invocation, or
when an instance of a Web Bean with scope @Dependent is created by the Web
Bean manager to receive a producer method, producer field, disposal method
or observer method invocation, or
when an instance of a Web Bean with scope @Dependent is created by the Web
Bean manager to receive a producer method, producer field, disposal method
or observer method invocation, or
The default name for an enterprise Web Bean is the unqualified class name
of the Web Bean implementation class, after converting the first character
to lower case.
On the other hand, dependent objects (including interceptors and
decorators with scope @Dependent) of a stateful session bean or of a Web
Bean with a passivating scope must be serialized and deserialized along
with their owner
On the other hand, dependent objects (including interceptors and
decorators with scope @Dependent) of a stateful session bean or of a Web
Bean with a passivating scope must be serialized and deserialized along
with their owner
On the other hand, dependent objects (including interceptors and
decorators with scope @Dependent) of a stateful session bean or of a Web
Bean with a passivating scope must be serialized and deserialized along
with their owner
On the other hand, dependent objects (including interceptors and
decorators with scope @Dependent) of a stateful session bean or of a Web
Bean with a passivating scope must be serialized and deserialized along
with their owner
When the EJB container destroys an instance of an EJB bean, the Web Bean
manager intercepts the @PreDestroy callback and destroys all dependent
objects, after the callback returns from the bean instance
If a producer method or field of scope @Dependent returns a
non-serializable object for injection into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
IllegalProductException is thrown by the Web Bean manager.
If a producer method or field of scope @Dependent returns a
non-serializable object for injection into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
IllegalProductException is thrown by the Web Bean manager.
If a producer method or field of scope @Dependent returns a
non-serializable object for injection into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
IllegalProductException is thrown by the Web Bean manager.
If a producer method or field of scope @Dependent returns a
non-serializable object for injection into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
IllegalProductException is thrown by the Web Bean manager.
If a producer method or field of scope @Dependent returns a
non-serializable object for injection into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
IllegalProductException is thrown by the Web Bean manager.
If a producer method or field of scope @Dependent returns a
non-serializable object for injection into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
IllegalProductException is thrown by the Web Bean manager.
If a producer method or field of scope @Dependent returns a
non-serializable object for injection into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
IllegalProductException is thrown by the Web Bean manager.
If a producer method or field of scope @Dependent returns a
non-serializable object for injection into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
IllegalProductException is thrown by the Web Bean manager.
If a producer method or field of scope @Dependent returns a
non-serializable object for injection into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
IllegalProductException is thrown by the Web Bean manager.
If a producer method or field of scope @Dependent returns a
non-serializable object for injection into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
IllegalProductException is thrown by the Web Bean manager.
If a producer method or field of scope @Dependent returns a
non-serializable object for injection into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
IllegalProductException is thrown by the Web Bean manager.
If a producer method or field of scope @Dependent returns a
non-serializable object for injection into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
IllegalProductException is thrown by the Web Bean manager.
destroy any @Dependent scoped contextual instance created to receive a
producer method, producer field, disposal method or observer method
invocation when the invocation completes
destroy any @Dependent scoped contextual instance created to receive a
producer method, producer field, disposal method or observer method
invocation when the invocation completes
destroy any @Dependent scoped contextual instance created to receive a
producer method, producer field, disposal method or observer method
invocation when the invocation completes
destroy any @Dependent scoped contextual instance created to receive a
producer method, producer field, disposal method or observer method
invocation when the invocation completes
An EJB bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from initializer methods, from @PostConstruct
and @PreDestroy callbacks and from Web Beans interceptors for these
methods.
An EJB bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from initializer methods, from @PostConstruct
and @PreDestroy callbacks and from Web Beans interceptors for these
methods.
An EJB bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from initializer methods, from @PostConstruct
and @PreDestroy callbacks and from Web Beans interceptors for these
methods.
An EJB bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from initializer methods, from @PostConstruct
and @PreDestroy callbacks and from Web Beans interceptors for these
methods.
If the implementation class of an enterprise Web Bean is annotated @Interceptor
or @Decorator, a DefinitionException is thrown by the Web Bean manager at
initialization time.
If the implementation class of an enterprise Web Bean is annotated @Interceptor
or @Decorator, a DefinitionException is thrown by the Web Bean manager at
initialization time.
If the EJB bean has a bean class local view and the bean class is not a
parameterized type, the set of API types contains the bean class and all
superclasses
Next, if the EJB bean instance is an instance of a Web Bean, the Web Bean
manager initializes the values of any fields with initial values specified
in XML,
Any instance of the (@Dependent-scoped) Web Bean that receives a producer method, producer
field, disposal method or observer method invocation exists to service
that invocation only
Any instance of the (@Dependent-scoped) Web Bean that receives a producer method, producer
field, disposal method or observer method invocation exists to service
that invocation only
Any instance of the (@Dependent-scoped) Web Bean that receives a producer method, producer
field, disposal method or observer method invocation exists to service
that invocation only
Any instance of the (@Dependent-scoped) Web Bean that receives a producer method, producer
field, disposal method or observer method invocation exists to service
that invocation only
When a scope is inactive, any invocation of the get() from the current
thread upon the Context object for that scope results in a
ContextNotActiveException.
The long-running conversation associated with a request may be propagated
to any non-faces request via use of a GET request parameter named cid
containing the unique identifier of the conversation.
The long-running conversation context associated with a request that
results in a JSF redirect (via a navigation rule) is automatically
propagated to the resulting non-faces request, and to any other subsequent
request to the same URL.
The long-running conversation context associated with a request that
renders a JSF view is automatically propagated to any faces request (JSF
form submission) that originates from that rendered page.
The Web Bean manager is permitted to arbitrarily destroy any long-running
conversation that is associated with no current JSF request, in order to
conserve resources
If the @New binding type appears in conjunction with some other binding
type, or is specified for a field or parameter of a type which does not
satisfy the definition of a simple Web Bean implementation class or
enterprise Web Bean implementation class, a DefinitionException is thrown
by the container at deployment time.
If the @New binding type appears in conjunction with some other binding
type, or is specified for a field or parameter of a type which does not
satisfy the definition of a simple Web Bean implementation class or
enterprise Web Bean implementation class, a DefinitionException is thrown
by the container at deployment time.
If the @New binding type appears in conjunction with some other binding
type, or is specified for a field or parameter of a type which does not
satisfy the definition of a simple Web Bean implementation class or
enterprise Web Bean implementation class, a DefinitionException is thrown
by the container at deployment time.
If the @New binding type appears in conjunction with some other binding
type, or is specified for a field or parameter of a type which does not
satisfy the definition of a simple Web Bean implementation class or
enterprise Web Bean implementation class, a DefinitionException is thrown
by the container at deployment time.
The @New annotation or element may be applied to any field of a Web
Bean implementation class or to any parameter of a producer method,
initializer method, disposal method or Web Bean constructor where the type
of the field or parameter is a concrete Java type which satisfies the
requirements of a simple Web Bean implementation class or enterprise Web
Bean implementation class.
The @New annotation or element may be applied to any field of a Web
Bean implementation class or to any parameter of a producer method,
initializer method, disposal method or Web Bean constructor where the type
of the field or parameter is a concrete Java type which satisfies the
requirements of a simple Web Bean implementation class or enterprise Web
Bean implementation class.
The @New annotation or element may be applied to any field of a Web
Bean implementation class or to any parameter of a producer method,
initializer method, disposal method or Web Bean constructor where the type
of the field or parameter is a concrete Java type which satisfies the
requirements of a simple Web Bean implementation class or enterprise Web
Bean implementation class.
The @New annotation or element may be applied to any field of a Web
Bean implementation class or to any parameter of a producer method,
initializer method, disposal method or Web Bean constructor where the type
of the field or parameter is a concrete Java type which satisfies the
requirements of a simple Web Bean implementation class or enterprise Web
Bean implementation class.
The @New annotation or element may be applied to any field of a Web
Bean implementation class or to any parameter of a producer method,
initializer method, disposal method or Web Bean constructor where the type
of the field or parameter is a concrete Java type which satisfies the
requirements of a simple Web Bean implementation class or enterprise Web
Bean implementation class.
The @New annotation or element may be applied to any field of a Web
Bean implementation class or to any parameter of a producer method,
initializer method, disposal method or Web Bean constructor where the type
of the field or parameter is a concrete Java type which satisfies the
requirements of a simple Web Bean implementation class or enterprise Web
Bean implementation class.
The @New annotation or element may be applied to any field of a Web
Bean implementation class or to any parameter of a producer method,
initializer method, disposal method or Web Bean constructor where the type
of the field or parameter is a concrete Java type which satisfies the
requirements of a simple Web Bean implementation class or enterprise Web
Bean implementation class.
The @New annotation or element may be applied to any field of a Web
Bean implementation class or to any parameter of a producer method,
initializer method, disposal method or Web Bean constructor where the type
of the field or parameter is a concrete Java type which satisfies the
requirements of a simple Web Bean implementation class or enterprise Web
Bean implementation class.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
Furthermore, this Web Bean: � has the same Web Bean constructor,
initializer methods and injected fields as a Web Bean defined using
annotations� that is, it has any Web Bean constructor, initializer method
or injected field declared by annotations that appear on the
implementation class, � has no observer methods, producer methods or
fields or disposal methods, � has the same interceptors as a Web Bean
defined using annotations�that is, it has all the interceptor binding
types declared by annotations that appear on the implementation class, and
� has no decorators.
If the parameter type satisfies the definition of a simple Web Bean
implementation class, Section 3.2.1, �Which Java classes are simple Web
Beans?�, then the Web Bean is a simple Web Bean.
If the underlying EJB was already destroyed by direct invocation of a
remove method by the application, the Web Bean manager ignores the
instance, and is not required to call any remove method
The following algorithm must be used by the Web Bean manager when resolving a Web Bean by name:
• The Web Bean manager identifies the set of matching enabled Web Beans which have the given name.
When the create() method of a Bean object that represents a producer field
is called, the container must access the producer field to obtain the
current value of the field.
By default, if no deployment type annotation is explicitly specified, a
producer method or field inherits the deployment type of the bean in which
it is defined.
Otherwise, if the producer field contains a null value, and the scope of
the producer method is not @Dependent, the create() method throws an
IllegalProductException.
When the create() method of a Bean object that represents a producer field
is called, the container must access the producer field to obtain the
current value of the field.
The request scope is active during any remote method invocation of any EJB
bean, during any call to an EJB timeout method and during message delivery
to any EJB message driven bean.
The request scope is active during any remote method invocation of any EJB
bean, during any call to an EJB timeout method and during message delivery
to any EJB message driven bean.
The request scope is active during any remote method invocation of any EJB
bean, during any call to an EJB timeout method and during message delivery
to any EJB message driven bean.
If a simple Web Bean of scope @Dependent and a non-serializable
implementation class is injected into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
UnserializableDependencyException must be thrown by the Web Bean manager
at initialization time.
If a simple Web Bean of scope @Dependent and a non-serializable
implementation class is injected into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
UnserializableDependencyException must be thrown by the Web Bean manager
at initialization time.
If a simple Web Bean of scope @Dependent and a non-serializable
implementation class is injected into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
UnserializableDependencyException must be thrown by the Web Bean manager
at initialization time.
If a simple Web Bean of scope @Dependent and a non-serializable
implementation class is injected into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
UnserializableDependencyException must be thrown by the Web Bean manager
at initialization time.
If a simple Web Bean of scope @Dependent and a non-serializable
implementation class is injected into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
UnserializableDependencyException must be thrown by the Web Bean manager
at initialization time.
If a simple Web Bean of scope @Dependent and a non-serializable
implementation class is injected into a stateful session bean, into a
non-transient field, Web Bean constructor parameter or initializer method
parameter of a Web Bean which declares a passivating scope type, or into a
parameter of a producer method which declares a passivating scope type, an
UnserializableDependencyException must be thrown by the Web Bean manager
at initialization time.
If the conversation associated with the current JSF request is in the
transient state at the end of a JSF request, it is destroyed, and the
conversation context is also destroyed.
If the conversation associated with the current JSF request is in the
transient state at the end of a JSF request, it is destroyed, and the
conversation context is also destroyed.
A Web Bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from the Web Bean constructor, from the
Web Bean remove method, from initializer methods, from producer methods,
from disposal methods, from @PostConstruct and @PreDestroy callbacks and
from Web Beans interceptors or decorators for any of these methods
A Web Bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from the Web Bean constructor, from the
Web Bean remove method, from initializer methods, from producer methods,
from disposal methods, from @PostConstruct and @PreDestroy callbacks and
from Web Beans interceptors or decorators for any of these methods
A Web Bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from the Web Bean constructor, from the
Web Bean remove method, from initializer methods, from producer methods,
from disposal methods, from @PostConstruct and @PreDestroy callbacks and
from Web Beans interceptors or decorators for any of these methods
A Web Bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from the Web Bean constructor, from the
Web Bean remove method, from initializer methods, from producer methods,
from disposal methods, from @PostConstruct and @PreDestroy callbacks and
from Web Beans interceptors or decorators for any of these methods
A Web Bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from the Web Bean constructor, from the
Web Bean remove method, from initializer methods, from producer methods,
from disposal methods, from @PostConstruct and @PreDestroy callbacks and
from Web Beans interceptors or decorators for any of these methods
A Web Bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from the Web Bean constructor, from the
Web Bean remove method, from initializer methods, from producer methods,
from disposal methods, from @PostConstruct and @PreDestroy callbacks and
from Web Beans interceptors or decorators for any of these methods
A Web Bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from the Web Bean constructor, from the
Web Bean remove method, from initializer methods, from producer methods,
from disposal methods, from @PostConstruct and @PreDestroy callbacks and
from Web Beans interceptors or decorators for any of these methods
A Web Bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from the Web Bean constructor, from the
Web Bean remove method, from initializer methods, from producer methods,
from disposal methods, from @PostConstruct and @PreDestroy callbacks and
from Web Beans interceptors or decorators for any of these methods
A Web Bean may create an instance of a Web Bean with scope type @Dependent
by calling Manager.getInstance() from the Web Bean constructor, from the
Web Bean remove method, from initializer methods, from producer methods,
from disposal methods, from @PostConstruct and @PreDestroy callbacks and
from Web Beans interceptors or decorators for any of these methods
Enterprise Web Beans may be declared in web-beans.xml using the bean class
name (for EJBs defined using a component- defining annotation) or bean
class and EJB name (for EJBs defined in ejb-jar.xml).