then why do we have the remote home and compoenet interface for an Entity bean when its never used .
Local interfaces were introduced from
EJB 2.0. Earlier versions had just the remote interfaces. Remote interfaces are useful when Entiy needed to be accessed from another JVM. Usually you will find entity and session colocated, so remote are not used. This resulted in introduction of local interfaces in EJB 2.0.
Hope this helps.