One service that an EJB container must provide is the low-level communication for remote access to each EJB that it hosts. While RMI might be used for the low-level communication, an EJB programmer or an EJB-client programmer need not concern himself/herself with the details, since one of the features of the EJB model is to hide these details from both.
With that said, it is a good idea to acquaint yourself with the basics of RMI when programming to EJB. Understanding concepts such as pass-by-value, type narrowing, serialization, etc. are almost essential to fully grasp the EJB invocation model and to program to the EJB architecture effectively.
A couple of good starting points for understanding EJB and its relationship to RMI can be found at the following links:
Dig Deeper on Topics Archive
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.