wood burning stoves*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Doubt from the specs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubt from the specs" Watch "Doubt from the specs" New topic
Author

Doubt from the specs

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9349
    
    2

From the Spces 4.3.10.2,

Under EJB 3.0, it is not required that a stateless session bean have an ejbCreate method, even when it has a Home interface


Where is the Home in EJB 3.0?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 547

The EJB 2.1 and earlier specifications require that the client first obtain a reference to a session bean�s
home interface, and then use the home interface to obtain a reference to the bean�s component interface.
This earlier programming model continues to be supported in the EJB 3.0.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9349
    
    2

If you read the line once again, at the end it says 'even if it has a home interface'? WHY is that?
Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 547

backward compatibility with EJB 2.1
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt from the specs