There are several different types of clients that access EJBs in a WebSphere Application Server Version 5 and the J2EE programming environment.
A session bean can be looked at as being a client of the entity beans it accesses. In most cases these beans run in the same EJB container and can use local interfaces.
Servlets can interact with EJBs through remote or local interfaces. A suggested approach is that servlets only interact with session beans, and the session beans interact with entity beans. To access session beans, the servlet can use either remote or local interfaces; for portability, remote interfaces are suggested.
The servlet is a typical thin-client implementation where the user front end is ...