Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejbCreate Must not be marked final.

 
Murthy Cherukumilli
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the HFEJB it is stated that the ejbCreate must not be marked final.

Can some body please explain me why is it like that?

because it is also stated in the book that when we inherit from a bean the beanness is not inherited. so, i understood as has no harm declaring the ejbCreate as final in the bean class as anyways there is no meaning having the ejbCreate when there is no beanness inherited... i guess i am confused a lil with that statement.
 
Murthy Cherukumilli
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The statement gets more generalised as move two pages further.. "your must not declare remote exception in your bean class ever."
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic