4 Replies Latest reply on Mar 30, 2004 9:30 PM by kondetisree

    JMX architecture

    sysuser1

       

      "osifrage" wrote:
      "osifrage" wrote:
      Hello,

      I was wondering if anyone of you can help me understand the architecture of JBOSS. To my understanding JBOSS runs on top of JMX -- the components that make up JBOSS all register with a JMX MBeanServer. What isnt clear to me is how do the components that register with the MBeanServer communicate wit each other. Is JMX simply there to provide a Context, and components find each other via JNDI, or does JMX play a role in how components find and talk to each other? Can anyone please shed some light? For example if added a custom service to JBOSS that needs to interact with the TransactionManager, would I just be required to grab a handle to it from JNDI. Im interested in the architecture of JBOSS froma service/component developer point of view, not an end user of JBOSS. Any feed back will be greatly appreciated.

      Thanks in advance
      - Reed


        • 1. Re: JMX architecture
          thezman

           

          "thezman" wrote:
          "thezman" wrote:
          Hey Reed,

          I am not a jBoss expert yet, but I do have some experience on JMX. To answer your question based on my understanding is follow:
          The JMX is framework to manage component object easier. The framework provide the MBeanServer/Agent to manage components/MBeans. There many other technology comes into play when you put thing together such as making a MBean into service. Things such Context and Naming are provided by JNDI. For communincation between components, they use JMS, and so on.

          Many of these area is covered by the book published here at jBoss called "JMX Managing J2EE with Java Management Extension." It's a great intro book.

          Cheers



          • 2. Re: JMX architecture
            changnan

            Hi thezmen
            "JMX Managing J2EE with Java Management Extension"
            I want to know where i can get the book you said
            Thank you for your reply[/url]

            • 3. Re: JMX architecture

              All JBoss services are MBeans and are registered with the MBean server, so you will always be able to find and make invocations on those services (via their exposed MBean metadata). However, some services require other types of registration (with JNDI for example) in addition to the MBeanServer.

              • 4. Re: JMX architecture
                kondetisree

                Pls .find the JMX book here and get it online

                http://vig.pearsoned.com/store/product/1,3498,store-6781_isbn-0672322889,00.html


                Regards,
                Srikanth Kondeti