This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes ejbCreate Must not be marked final. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply Bookmark "ejbCreate Must not be marked final." Watch "ejbCreate Must not be marked final." New topic
Author

ejbCreate Must not be marked final.

Murthy Cherukumilli
Ranch Hand

Joined: Aug 05, 2004
Posts: 45
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.


Thanks<br />Murthy (SCJP 1.4 , SCWCD 1.4)
Murthy Cherukumilli
Ranch Hand

Joined: Aug 05, 2004
Posts: 45
The statement gets more generalised as move two pages further.. "your must not declare remote exception in your bean class ever."
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ejbCreate Must not be marked final.
 
Similar Threads
Question on beanness of stateless session bean
HF questions and others - round 1
life cycle and access to beanness
when is a bean considered created.
Entity Object Identity