what are callback methods?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Which sorting algorithm is used by collections.sort() in java ?
What is IOC in spring?
i need java 1+ experience resume on java developer kindly send me my mail id:srikanthreddy1.marla@gmail.com
Write a postfix expression to (a*(b+c/d)*d-e)
What are the queues in the java collection framework? : java collections
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
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 ?
What is an Ioc pattern? There are assemblies in .net for establishing this task, Whats the special in Java /j2ee technologies about IOC
wnet use DAO design in u r project?
I have include a jsp page by using <jsp:include page="/.../xyz.jsp"/> The thing is that the xyz.jsp page has its submit button.When i click on that button the whole main page get refreshed.But i want to refresh only the xyz.jsp page.How could i achive it so that i can only refresh the xyz.jsp not the main page page?
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
what are callback methods?