10 Replies Latest reply on Oct 14, 2002 1:29 AM by vickyk

    How to set EJBObject pool?

    vickyk

      Hi,
      Where to set the EJBObject pooling parameters in the Jboss?
      While going through the ejb2.1 specifications I can understand the scope of the EJBObject is handled by the Container(refer figure 23).So where to set the no of EJBObjects in the pool?
      regards
      Vicky

        • 1. Re: How to set EJBObject pool?

          jboss.xml
          <container-configurations>

          Regards,
          Adrian

          • 2. Re: How to set EJBObject pool?
            vickyk

            Hi,
            Can you give a more details as I could not make it clearly?
            regards
            Vicky

            • 3. Re: How to set EJBObject pool?

              see the docs/dtds/jboss.dtd for details on the tag names and where to add them

              • 4. Re: How to set EJBObject pool?
                vickyk

                Hi,
                I am not able to get the exact tag for setting the EJBObject.I rephrase my query again I am concerned about the EJBObject(Wrraper Class) which is developed by Container not the EJB object(Bean instance) pooling?
                regards
                Vicky

                • 5. Re: How to set EJBObject pool?

                  What do you mean?

                  It is the bean instances that are pooled.

                  • 6. Re: How to set EJBObject pool?
                    vickyk

                    Hi,
                    > What do you mean?
                    >
                    > It is the bean instances that are pooled.
                    The bean instance pooling I am aware of,but my concern is the EJBObject(Wrapper Class).Once the client reads the home interface the client gets the Remote Reference to the Wrapper Class basically which delegates the request to the actual instance class,So this Wrapper class is what I am talking about....
                    regards
                    Vickyk

                    • 7. Re: How to set EJBObject pool?

                      there's no pool of invokers, if that's what you mean

                      • 8. Re: How to set EJBObject pool?
                        vickyk

                        Hi,
                        > there's no pool of invokers, if that's what you mean
                        I can't undestand what you are trying to explain,if possible can you mention this in detail.
                        regards
                        Vicky

                        • 9. Re: How to set EJBObject pool?
                          minamoto

                          &gt; I can't undestand what you are trying to explain,if possible can you mention this in detail.

                          The detail is here:
                          http://www.jboss.org/online-manual/HTML/ch10s04.html

                          Don't you think it's beautiful?

                          Miki

                          • 10. Re: How to set EJBObject pool?
                            vickyk

                            Hi Miki,
                            > Don't you think it's beautiful?
                            Thanks !!! It is great!!!
                            Yes at last I can understand that the Jboss is behaving different from other appservers here so there will be less allocations being taken by jboss all the time.
                            As they have mentioned the for the finder method there will be 1,000,000 EJBObjects created in most appservers but in Jboss it will be just one,I have some questions regarding the flow now.
                            Let me explain what I mean in detail?
                            As per my understanding once the finder method is invoked the Container will get all the matching entries from the home(EJBHome) and for each entry will create the EJBObject and then pass the remote reference Collection back to the Client.....
                            As in case of the Jboss there will be just one EJBObject generated how then the Collection of remote ref is passed to the Client?
                            regards
                            Vicky