Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 are the differences between the java collection and the java list? : java collections

0 Answers  


How do you create UserTransaction Object? How do you rollback a transaction in a method?

1 Answers   HCL,


Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?

1 Answers   HCL,


How to implement or use the singleton class in java?

3 Answers  


What is need of DAO? Write one simple DAO example?

2 Answers   IBM,


what is acl(access control list)?

1 Answers   Athena, HCL,


what is the difference between banking and insurance domain?

2 Answers  


who should use JNDI?

1 Answers  


Which sorting algorithm is used by collections.sort() in java ?

0 Answers  


Which java collection class can be used to maintain the entries in the order in which they were last accessed?

0 Answers  


lll

1 Answers  


Q1. A. Write note on "The class path Environment Variable". B. Which are different kinds of source code? Q2. A. How to create an interface? B. Why convert an applet to an application? Q3. A. How to use Media tracker Class. B. How to use string tokenizer class. Q4. A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on "The properties class" Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.

1 Answers  


Categories