Q.) When do we use entity beans in a project and when do we use the different types of entity beans?