Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why @Remove is optional?

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gladwin Burboz
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic