What is a Session Bean?
by, 01-02-2012 at 05:49 PM (608 Views)
Inside J2EE server, single client is presented in a session bean. It is considered as a non persistent object which makes the implementation of other business logics that run at server. Session beans are not able to survive the shut down of the system.
Two types of session beans are there:
- Stateless session beans (By multiple EJB clients, each session bean could be reused)
- Stateful session beans (every session bean is linked to just one EJB client)