what is the difference between a local remote interface and a remote interface?
I think
you should use use local interface if the clients accessing the beans are in the same JVM.
With local interface clients in same JVM can nly access the bean. That way the calls to the bean do not have to use RMI and the performance are better.
Moreover, if a bean is a target of a container managed relationship it must have local interface.
Remote interface must extend EJBObject and Local should extend EJBLocalObject
what is the diff bet a home interface and a local home interface?
simillarly i think the local home interface is used when u have a local interface and want to access the client locally. So you make local interface + local home interface or remote interface + home interface
The home interface must extend EJBHome and local home should extend EJBLocalHome
Hope this helps