what are callback methods?

Answers were Sorted based on User's Feedback



what are callback methods?..

Answer / ashok

Callback methods are those which are called automatically
by the application/system when a particular condition has
been met.It could be Event handling, or methods in servlet
life cycle etc.eg: Servlets callback method destroy() will
be called by the container while container is shutting
down.

Is This Answer Correct ?    114 Yes 5 No

what are callback methods?..

Answer / robz

This type of methods are generally called by the container,
the developer does not need to call these methods
explicitly. Most of the languages specifies the callback
method by passing the address of the subroutine to the
system to the request is calling back from, But java
performs the same thing by using interfaces. Java does not
allow passing the address of subroutine but allows passing
an instance of a class that implements the standard
interface. For this purpose anonymous classes are mainly
used as they support a better compact definition of the
class that is required as a new class.

Is This Answer Correct ?    7 Yes 1 No

what are callback methods?..

Answer / shakir khan

These methods allow the container to notify the bean of
events in its life cycle.These methods are defined in
javax.ejb.EntityBean

Is This Answer Correct ?    18 Yes 41 No

Post New Answer

More Java J2EE AllOther Interview Questions

what is hibernate ceteria ?

4 Answers   Fidelity,


what is the difference between checked and unchecked Exceptions?

4 Answers   CTS,


What is the enumerator of the java collection framework? : java collections

0 Answers  


Explain JSP life cycle?

2 Answers   Accenture,


Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?

0 Answers   Cap Gemini,






what is java virtual machine

4 Answers  


In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?

0 Answers  


What is markup language?

1 Answers  


my interviewer asked me what technical specification you used how to answer that question

0 Answers  


What is the use of the list interface in the java collection? : java collections

0 Answers  


how to deploy the web application ?

2 Answers   Accent,


Am chittibabu from vadavalli, My father name is nanjan.he is working in state bank of india at vadavalli, My mother name is ramal. She is house wife. My brother name is rajaram he is working in Privete Company. I was born on 25-january-1984 at bhavanisager in Erode District. I have completed my school in government higher secondary school bhavanisager. After that I came to coimbatore for higher study.i have joined Bsc computer science in sri ramalinga sowdambigai college of science and commerce, affiliated by bharathiyar university, coimbatore. In the same college, I have continued UG degree also. but I got a job in Systech infovation as a software programmer,so I discontinued Msc Degree.I have one and half years experience from this concern. Here I have completed two products; one is Tranport management solution for balaji goods carriers at tirupur. Another one is Embroidery Management Solution for Angel Embroidery at tirupur. After that I got an another job in metis technologies as senior software engineer. I have one year experience from this company.here I working in school management product.it is developing version by version.

3 Answers  


Categories