• Post Reply Bookmark Topic Watch Topic
  • New Topic

callback vs. inline methods

 
Ken Truitt
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are the terms 'callback method' and 'inline method' used? They were
in one of the quizzes.

Thanks,

Ken Truitt
 
khushhal yadav
Ranch Hand
Posts: 242
Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ken

I think, they are used to call other language( like Pert) functions from java.
But not much sure abot them.
From where did you come to know about them?
I haven't come across them

Regards,
Khushhal
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A callback method here means that the container is supposed to call it. An inline method is a method that you are supposed to call.

The concept as it is used here has nothing to do with other languages.

Most callback methods are lifecycle related - like create and destroy methods.
 
khushhal yadav
Ranch Hand
Posts: 242
Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Mark.

I really didn't have any idea about them
Just tried to make a pure guess..

Regards,
Khushhal
 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Even destroy() method in the life cycle of a jsp is a container-call back method.
With regards,
Padma priya N.G.
 
I've got no option but to sell you all for scientific experiments. Or a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!