- For a client, a session object is a non-persistent object that implements some business logic running on the server.
- A client never directly accesses instances of the session bean’s class.
- A client accesses a session object through the session bean’s client view.
- The client of a session bean may be a local client, a remote client, or a web service client, depending on which of these views is provided by the bean and used by the client.
- The client of a stateless session bean or singleton session bean may be a web service client. Only a stateless session bean or singleton session bean may provide a web service client view.
- The container allows the clients to obtain the business interfaces and/or home interfaces of the installed enterprise beans through dependency injection (DI) or to look them up via JNDI.
EJB3 Client View Introduction2016-10-182016-10-19https://ibytecode.com/ibcjupiter/wp-content/uploads/2024/04/logo-full-small.pngiByteCode Technologieshttps://ibytecode.com/ibcjupiter/wp-content/uploads/2016/10/java-ee.png200px200px