aspose file tools*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
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
when is a bean considered created.
Entity Object Identity
Question on beanness of stateless session bean
HF questions and others - round 1
life cycle and access to beanness