1 Reply Latest reply on Oct 21, 2002 6:09 AM by adrian.brock

    Relationships between Home objects, EJB objects and bean ins

    mhansen

      Hi,

      I'm wondering how the relationships between

      - Home objects and EJB objects
      - EJB objects and bean instances

      are in JBoss. Is it 1:1, 1:N or N:M?

      Regards
      Mads

        • 1. Re: Relationships between Home objects, EJB objects and bean

          In JBoss there is only really one EJBObject
          implementation per ejb deployed, the container.

          The bean instances are pooled/cached behind the container.

          When you get the remote interface, you get a proxy
          that says it implements EJBObject, but it actually
          just passes the request to the container.
          The same with the home the interface.

          Regards,
          Adrian