We use local interface, local home interface for every entity bean, and each entity package was packaged into separate jar file. All jar files were packaged into one big ear file. When lookup some home interface from one entity bean, the lookup failed. Do we have to package all files into one jar file? or do we have to use remote interface?
No, assuming you are inside JBoss for all lookups.
What name are using for the lookup?
it is by default
Try using JNDIView in the management console to
see all the bindings.