File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Question from the EJB 3 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 "Question from the EJB 3 specs" Watch "Question from the EJB 3 specs" New topic
Author

Question from the EJB 3 specs

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

From the following lines,

The container must be able to properly save and restore the reference to the business interfaces and
home and component interfaces of the enterprise beans stored in the instance�s state even if the classes
that implement the object references are not serializable.


I'm not able to get "even if the classes
that implement the object references are not serializable"?

Which object references do they mean?


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!
Mirko Bonasorte
Ranch Hand

Joined: May 14, 2007
Posts: 244
Hi,
for example, you may have an EJB X that has references another EJB Y. Let's suppose that the application server decides to passivate X: when reactivating EJB X, the application server also restores the reference to Y, even if its interface (remote or local) does not extend java.io.Serializable.


SCJP<br />SCWCD 1.4 Upgrade (Remember: me stupid)<br />SCWCD 1.4<br /><a href="http://jcp.org/aboutJava/communityprocess/final/jsr220/index.html" target="_blank" rel="nofollow">SCBCD 5.0</a><br /><a href="http://www.enthuware.com" target="_blank" rel="nofollow">SCBCD 5.0 mock exam</a> <br /> <br />SCEA 5 Part1: Preparing...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question from the EJB 3 specs