aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes a dumb question about Callback method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "a dumb question about Callback method " Watch "a dumb question about Callback method " New topic
Author

a dumb question about Callback method

Chrix Wu
Ranch Hand

Joined: Nov 15, 2009
Posts: 121
Can someone explain what is "callback" method for me please?

for example, the destroy method is always a container callback method...

thanks...


** SCJP 5.0 84% **
** SCWCD 1.5 76% **
Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

I think that callback method is the one which is invoked by the container - not by ourselves. We should not invoke callback methods. Correct me if I am wrong.


SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
Chrix Wu
Ranch Hand

Joined: Nov 15, 2009
Posts: 121
Lucas Smith wrote:I think that callback method is the one which is invoked by the container - not by ourselves. We should not invoke callback methods. Correct me if I am wrong.


that make sense, thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a dumb question about Callback method