Hi. Why EJB 3 specification marked @Remove annotation as optional for stateful session beans although it is so important and vital for the EJB container? Thanks.
posted 9 years ago
Stateful or stateless is just EJB configuration option. Underlying bean still implements same "javax.ejb.SessionBean" interface. For bean implementing this interface, remove() method is optional and so is annotation.