---
title: "What are the callback methods in Entity beans?"  
description: "What are the callback methods in Entity beans?"  
author: "Amit Singh"  
published: 2011-05-05  
updated: 2020-09-24  
canonical: https://www.mindstick.com/interview/829/what-are-the-callback-methods-in-entity-beans  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# What are the callback methods in Entity beans?

The bean class defines create methods that match methods in the home interface and business methods that match methods in the remote interface. The bean class also implements a set of callback methods that allow the container to notify the bean of events in its life cycle. The callback methods are defined in the **javax.ejb.EntityBean** interface that is implemented by all entity beans.

## Answers

### Answer by Amit Singh

The bean class defines create methods that match methods in the home interface and business methods that match methods in the remote interface. The bean class also implements a set of callback methods that allow the container to notify the bean of events in its life cycle. The callback methods are defined in the **javax.ejb.EntityBean** interface that is implemented by all entity beans.


---

Original Source: https://www.mindstick.com/interview/829/what-are-the-callback-methods-in-entity-beans

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
