Javabeans may be used just like a stateless or stateful session bean. However, they do not provide the  functionality  of  a  session  bean  (declarative  transaction  demarcation,  declarative  security, efficient clustered state replication, EJB 3.0 persistence, timeout methods, etc).
Seam  JavaBean  components  may  be  instantiated  using  Component.getInstance()  or
@In(create=true). They should not be directly instantiated using the new operator.
No hay comentarios:
Publicar un comentario