Discussions

General J2EE: EJB-Session Bean

  1. EJB-Session Bean (1 messages)

    Hi,

    I am trying to understand the following from EJB Specification for 2.0
    Can anyone please tell me the difference between the
    following.

    A session bean object is not shared among multiple clients
    and are intended to be a private resources used only by
    the clients who created them.

    On the other hand a stateless session bean instance can be
    used by any client?Meaning isn't it shared among
    multiple client.

    I am also confused when they use terms like session bean
    object and session bean instance, are they same or
    different?

    Thanks
    Ash
  2. EJB-Session Bean[ Go to top ]

    hi,

    Bean Pooling and Instance Pooling are the key ideas over which EJB Container is built. check out the following link for more details to clarify your question .

    http://www.leocrawford.org.uk/work/jcea/part1/ejbcontainer.html

    Bhagvan K
    http://www.architectcorner.com